<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>perl589delta - what is new for perl v5.8.9 - Perldoc Browser</title>
    <link rel="search" href="https://perldoc.perl.org/opensearch.xml" type="application/opensearchdescription+xml" title="Perldoc Browser">
    <link rel="canonical" href="https://perldoc.perl.org/perl589delta">
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/styles/stackoverflow-light.min.css" integrity="sha512-cG1IdFxqipi3gqLmksLtuk13C+hBa57a6zpWxMeoY3Q9O6ooFxq50DayCdm0QrDgZjMUn23z/0PMZlgft7Yp5Q==" crossorigin="anonymous" />
    <style>
      body {
        background: #f4f4f5;
        color: #020202;
      }
      .navbar-dark {
        background-image: -webkit-linear-gradient(top, #005f85 0, #002e49 100%);
        background-image: -o-linear-gradient(top, #005f85 0, #002e49 100%);
        background-image: linear-gradient(to bottom, #005f85 0, #002e49 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff005f85', endColorstr='#ff002e49', GradientType=0);
        background-repeat: repeat-x;
      }
      .navbar-dark .navbar-nav .nav-link,
      .navbar-dark .navbar-nav .nav-link:focus { color: #fff }
      .navbar-dark .navbar-nav .nav-link:hover { color: #ffef68 }
      #wrapperlicious {
        margin: 0 auto;
        font: 0.9em 'Helvetica Neue', Helvetica, sans-serif;
        font-weight: normal;
        line-height: 1.5em;
        margin: 0;
        padding: 0;
      }
      #wrapperlicious h1 { font-size: 1.5em }
      #wrapperlicious h2 { font-size: 1.3em }
      #wrapperlicious h3 { font-size: 1.1em }
      #wrapperlicious h4 { font-size: 0.9em }
      #wrapperlicious h1, #wrapperlicious h2, #wrapperlicious h3,
      #wrapperlicious h4, #wrapperlicious dt {
        color: #020202;
        margin-top: 1em;
        margin-bottom: 1em;
        position: relative;
        font-weight: bold;
      }
      #wrapperlicious a { color: inherit; text-decoration: underline }
      #wrapperlicious #toc { text-decoration: none }
      #wrapperlicious a:hover { color: #2a2a2a }
      #wrapperlicious a img { border: 0 }
      #wrapperlicious :not(pre) > code {
        color: inherit;
        background-color: rgba(0, 0, 0, 0.04);
        border-radius: 3px;
        font: 0.9em Consolas, Menlo, Monaco, monospace;
        padding: 0.3em;
      }
      #wrapperlicious dd {
        margin: 0;
        margin-left: 2em;
      }
      #wrapperlicious dt {
        color: #2a2a2a;
        font-weight: bold;
        margin-left: 0.9em;
      }
      #wrapperlicious p {
        margin-bottom: 1em;
        margin-top: 1em;
      }
      #wrapperlicious li > p {
        margin-bottom: 0;
        margin-top: 0;
      }
      #wrapperlicious pre {
        border: 1px solid #c1c1c1;
        border-radius: 3px;
        font: 100% Consolas, Menlo, Monaco, monospace;
        margin-bottom: 1em;
        margin-top: 1em;
      }
      #wrapperlicious pre > code {
        display: block;
        background-color: #f6f6f6;
        font: 0.9em Consolas, Menlo, Monaco, monospace;
        line-height: 1.5em;
        text-align: left;
        white-space: pre;
        padding: 1em;
      }
      #wrapperlicious dl, #wrapperlicious ol, #wrapperlicious ul {
        margin-bottom: 1em;
        margin-top: 1em;
      }
      #wrapperlicious ul {
        list-style-type: square;
      }
      #wrapperlicious ul ul {
        margin-bottom: 0px;
        margin-top: 0px;
      }
      #footer {
        font-size: 0.8em;
        padding-top: 0.5em;
        text-align: center;
      }
      #more {
        display: inline;
        font-size: 0.8em;
      }
      #perldocdiv {
        background-color: #fff;
        border: 1px solid #c1c1c1;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
        margin-left: auto;
        margin-right: auto;
        padding: 3em;
        padding-top: 1em;
        max-width: 960px;
      }
      #moduleversion { float: right }
      #wrapperlicious .leading-notice {
        font-style: italic;
        padding-left: 1em;
        margin-top: 1em;
        margin-bottom: 1em;
      }
      #wrapperlicious .permalink {
        display: none;
        left: -0.75em;
        position: absolute;
        padding-right: 0.25em;
        text-decoration: none;
      }
      #wrapperlicious h1:hover .permalink, #wrapperlicious h2:hover .permalink,
      #wrapperlicious h3:hover .permalink, #wrapperlicious h4:hover .permalink,
      #wrapperlicious dt:hover .permalink {
        display: block;
      }
    </style>
    <!-- Global site tag (gtag.js) - Google Analytics -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=G-KVNWBNT5FB"></script>
    <script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());

      gtag('config', 'G-KVNWBNT5FB');
      gtag('config', 'UA-50555-3');
    </script>
  </head>
  <body>
    <nav class="navbar navbar-expand-md navbar-dark bg-dark justify-content-between">
  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
    <span class="navbar-toggler-icon"></span>
  </button>
  <a class="navbar-brand" href="https://perldoc.perl.org/">Perldoc Browser</a>
  <div class="collapse navbar-collapse" id="navbarNav">
    <ul class="navbar-nav mr-auto">
      <li class="nav-item dropdown text-nowrap">
        <a class="nav-link dropdown-toggle" href="perl589delta.html#" id="dropdownlink-stable" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">5.35.0</a>
        <div class="dropdown-menu" aria-labelledby="dropdownlink-stable">
          <a class="dropdown-item" href="https://perldoc.perl.org/perl589delta">Latest</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.2/perl589delta">5.38.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.1/perl589delta">5.38.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.0/perl589delta">5.38.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.36.3/perl589delta">5.36.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.36.2/perl589delta">5.36.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.36.1/perl589delta">5.36.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.36.0/perl589delta">5.36.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.34.3/perl589delta">5.34.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.34.2/perl589delta">5.34.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.34.1/perl589delta">5.34.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.34.0/perl589delta">5.34.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.32.1/perl589delta">5.32.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.32.0/perl589delta">5.32.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.30.3/perl589delta">5.30.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.30.2/perl589delta">5.30.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.30.1/perl589delta">5.30.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.30.0/perl589delta">5.30.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.28.3/perl589delta">5.28.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.28.2/perl589delta">5.28.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.28.1/perl589delta">5.28.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.28.0/perl589delta">5.28.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.26.3/perl589delta">5.26.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.26.2/perl589delta">5.26.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.26.1/perl589delta">5.26.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.26.0/perl589delta">5.26.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.4/perl589delta">5.24.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.3/perl589delta">5.24.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.2/perl589delta">5.24.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.1/perl589delta">5.24.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.0/perl589delta">5.24.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.4/perl589delta">5.22.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.3/perl589delta">5.22.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.2/perl589delta">5.22.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.1/perl589delta">5.22.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.0/perl589delta">5.22.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.20.3/perl589delta">5.20.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.20.2/perl589delta">5.20.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.20.1/perl589delta">5.20.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.20.0/perl589delta">5.20.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.4/perl589delta">5.18.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.3/perl589delta">5.18.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.2/perl589delta">5.18.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.1/perl589delta">5.18.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.0/perl589delta">5.18.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.16.3/perl589delta">5.16.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.16.2/perl589delta">5.16.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.16.1/perl589delta">5.16.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.16.0/perl589delta">5.16.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.4/perl589delta">5.14.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.3/perl589delta">5.14.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.2/perl589delta">5.14.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.1/perl589delta">5.14.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.0/perl589delta">5.14.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.5/perl589delta">5.12.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.4/perl589delta">5.12.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.3/perl589delta">5.12.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.2/perl589delta">5.12.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.1/perl589delta">5.12.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.0/perl589delta">5.12.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.10.1/perl589delta">5.10.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.10.0/perl589delta">5.10.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.9/perl589delta">5.8.9</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.8/perl589delta">5.8.8</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.7/perl589delta">5.8.7</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.6/perl589delta">5.8.6</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.5/perl589delta">5.8.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.4/perl589delta">5.8.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.3/perl589delta">5.8.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.2/perl589delta">5.8.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.1/perl589delta">5.8.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.0/perl589delta">5.8.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.6.2/perl589delta">5.6.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.6.1/perl589delta">5.6.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.6.0/perl589delta">5.6.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005_04/perl589delta">5.005_04</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005_03/perl589delta">5.005_03</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005_02/perl589delta">5.005_02</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005_01/perl589delta">5.005_01</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005/perl589delta">5.005</a>
        </div>
      </li>
      <li class="nav-item dropdown text-nowrap">
        <a class="nav-link dropdown-toggle" href="perl589delta.html#" id="dropdownlink-dev" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dev</a>
        <div class="dropdown-menu" aria-labelledby="dropdownlink-dev">
          <a class="dropdown-item" href="https://perldoc.perl.org/blead/perl589delta">blead</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.6/perl589delta">5.39.6</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.5/perl589delta">5.39.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.4/perl589delta">5.39.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.3/perl589delta">5.39.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.2/perl589delta">5.39.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.1/perl589delta">5.39.1</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.0-RC2/perl589delta">5.38.0-RC2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.0-RC1/perl589delta">5.38.0-RC1</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.11/perl589delta">5.37.11</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.10/perl589delta">5.37.10</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.9/perl589delta">5.37.9</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.8/perl589delta">5.37.8</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.7/perl589delta">5.37.7</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.6/perl589delta">5.37.6</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.5/perl589delta">5.37.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.4/perl589delta">5.37.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.3/perl589delta">5.37.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.2/perl589delta">5.37.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.1/perl589delta">5.37.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.0/perl589delta">5.37.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.11/perl589delta">5.35.11</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.10/perl589delta">5.35.10</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.9/perl589delta">5.35.9</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.8/perl589delta">5.35.8</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.7/perl589delta">5.35.7</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.6/perl589delta">5.35.6</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.5/perl589delta">5.35.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.4/perl589delta">5.35.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.3/perl589delta">5.35.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.2/perl589delta">5.35.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.1/perl589delta">5.35.1</a>
          <a class="dropdown-item active" href="perl589delta.html">5.35.0</a>
        </div>
      </li>
      <li class="nav-item dropdown text-nowrap">
        <a class="nav-link dropdown-toggle" href="perl589delta.html#" id="dropdownlink-nav" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Documentation</a>
        <div class="dropdown-menu" aria-labelledby="dropdownlink-nav">
          <a class="dropdown-item" href="perl.html">Perl</a>
          <a class="dropdown-item" href="perlintro.html">Intro</a>
          <a class="dropdown-item" href="perl.html#Tutorials">Tutorials</a>
          <a class="dropdown-item" href="perlfaq.html">FAQs</a>
          <a class="dropdown-item" href="perl.html#Reference-Manual">Reference</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="perlop.html">Operators</a>
          <a class="dropdown-item" href="functions.html">Functions</a>
          <a class="dropdown-item" href="variables.html">Variables</a>
          <a class="dropdown-item" href="modules.html">Modules</a>
          <a class="dropdown-item" href="perlutil.html">Utilities</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="perlcommunity.html">Community</a>
          <a class="dropdown-item" href="perlhist.html">History</a>
        </div>
      </li>
    </ul>
    <ul class="navbar-nav">
      <script>
        function set_expand (expand) {
          var perldocdiv = document.getElementById('perldocdiv');
          var width = window.getComputedStyle(perldocdiv).getPropertyValue('max-width');
          var expanded = (width == '' || width == 'none') ? true : false;
          if (expand === null) {
            expand = !expanded;
          }
          if ((expand && !expanded) || (!expand && expanded)) {
            perldocdiv.style.setProperty('max-width', expand ? 'none' : '960px');
            var button_classlist = document.getElementById('content-expand-button').classList;
            if (expand) {
              button_classlist.add('btn-light');
              button_classlist.remove('btn-outline-light');
            } else {
              button_classlist.add('btn-outline-light');
              button_classlist.remove('btn-light');
            }
          }
          return expand;
        }
        function toggle_expand () {
          var expand = set_expand(null);
          document.cookie = 'perldoc_expand=' + (expand ? 1 : 0) + '; path=/; expires=Tue, 19 Jan 2038 03:14:07 UTC';
        }
        function read_expand () {
          return document.cookie.split(';').some(function (item) { return item.indexOf('perldoc_expand=1') >= 0 });
        }
        if (document.readyState === 'loading') {
          document.addEventListener('DOMContentLoaded', function () {
            if (read_expand()) {
              set_expand(true);
            }
          });
        } else if (read_expand()) {
          set_expand(true);
        }
      </script>
      <button id="content-expand-button" type="button" class="btn btn-outline-light d-none d-lg-inline-block mr-2" onclick="toggle_expand()">Expand</button>
    <ul>
    <form class="form-inline" method="get" action="https://perldoc.perl.org/5.35.0/search">
      <input class="form-control mr-3" type="search" name="q" placeholder="Search" aria-label="Search">
    </form>
  </div>
</nav>

    <div id="wrapperlicious" class="container-fluid">
      <div id="perldocdiv">
        <div id="links">
          <a href="perl589delta.html">perl589delta</a>
          <div id="more">
            (<a href="perl589delta.txt">source</a>,
            <a href="https://metacpan.org/pod/perl589delta">CPAN</a>)
          </div>
        </div>
        <div class="leading-notice">
          You are viewing the version of this documentation from Perl 5.35.0.
            This is a development version of Perl.
        </div>
        <h1><a id="toc">CONTENTS</a></h1>
                  <ul>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#NAME">NAME</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#DESCRIPTION">DESCRIPTION</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Notice">Notice</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Incompatible-Changes">Incompatible Changes</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Core-Enhancements">Core Enhancements</a>
                            <ul>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Unicode-Character-Database-5.1.0.">Unicode Character Database 5.1.0.</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#stat-and-X-on-directory-handles">stat and -X on directory handles</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Source-filters-in-@INC">Source filters in @INC</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Exceptions-in-constant-folding">Exceptions in constant folding</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#no-VERSION">no VERSION</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Improved-internal-UTF-8-caching-code">Improved internal UTF-8 caching code</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Runtime-relocatable-installations">Runtime relocatable installations</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#New-internal-variables">New internal variables</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#readpipe-is-now-overridable">readpipe is now overridable</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#simple-exception-handling-macros">simple exception handling macros</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#-D-option-enhancements">-D option enhancements</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#XS-assisted-SWASHGET">XS-assisted SWASHGET</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Constant-subroutines">Constant subroutines</a>
              </li>
          </ul>

              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#New-Platforms">New Platforms</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Modules-and-Pragmata">Modules and Pragmata</a>
                            <ul>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#New-Modules">New Modules</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Updated-Modules">Updated Modules</a>
              </li>
          </ul>

              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Utility-Changes">Utility Changes</a>
                            <ul>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#debugger-upgraded-to-version-1.31">debugger upgraded to version 1.31</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#perlthanks">perlthanks</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#perlbug">perlbug</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#h2xs">h2xs</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#h2ph">h2ph</a>
              </li>
          </ul>

              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#New-Documentation">New Documentation</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Changes-to-Existing-Documentation">Changes to Existing Documentation</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Performance-Enhancements">Performance Enhancements</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Installation-and-Configuration-Improvements">Installation and Configuration Improvements</a>
                            <ul>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Relocatable-installations">Relocatable installations</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Configuration-improvements">Configuration improvements</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Compilation-improvements">Compilation improvements</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Installation-improvements.">Installation improvements.</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Platform-Specific-Changes">Platform Specific Changes</a>
                            <ul>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#FreeBSD">FreeBSD</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Solaris">Solaris</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#VMS">VMS</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Windows">Windows</a>
              </li>
          </ul>

              </li>
          </ul>

              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Selected-Bug-Fixes">Selected Bug Fixes</a>
                            <ul>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Unicode">Unicode</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#PerlIO">PerlIO</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Magic">Magic</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Reblessing-overloaded-objects-now-works">Reblessing overloaded objects now works</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#strict-now-propagates-correctly-into-string-evals">strict now propagates correctly into string evals</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Other-fixes">Other fixes</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Platform-Specific-Fixes">Platform Specific Fixes</a>
                            <ul>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Darwin-/-MacOS-X">Darwin / MacOS X</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#OS/2">OS/2</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Tru64">Tru64</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#RedHat-Linux">RedHat Linux</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Solaris/i386">Solaris/i386</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#VMS1">VMS</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Windows1">Windows</a>
              </li>
          </ul>

              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Smaller-fixes">Smaller fixes</a>
              </li>
          </ul>

              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#New-or-Changed-Diagnostics">New or Changed Diagnostics</a>
                            <ul>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#panic:-sv_chop-%25s">panic: sv_chop %s</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Maximal-count-of-pending-signals-(%25s)-exceeded">Maximal count of pending signals (%s) exceeded</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#panic:-attempt-to-call-%25s-in-%25s">panic: attempt to call %s in %s</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#FETCHSIZE-returned-a-negative-value">FETCHSIZE returned a negative value</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Can&#39;t-upgrade-%25s-(%25d)-to-%25d">Can&#39;t upgrade %s (%d) to %d</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#%25s-argument-is-not-a-HASH-or-ARRAY-element-or-a-subroutine">%s argument is not a HASH or ARRAY element or a subroutine</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Cannot-make-the-non-overridable-builtin-%25s-fatal">Cannot make the non-overridable builtin %s fatal</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Unrecognized-character-&#39;%25s&#39;-in-column-%25d">Unrecognized character &#39;%s&#39; in column %d</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Offset-outside-string">Offset outside string</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Invalid-escape-in-the-specified-encoding-in-regexp;-marked-by-%3C-HERE-in-m/%25s/">Invalid escape in the specified encoding in regexp; marked by &lt;-- HERE in m/%s/</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Your-machine-doesn&#39;t-support-dump/undump.">Your machine doesn&#39;t support dump/undump.</a>
              </li>
          </ul>

              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Changed-Internals">Changed Internals</a>
                            <ul>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Macro-cleanups">Macro cleanups</a>
              </li>
          </ul>

              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#New-Tests">New Tests</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Known-Problems">Known Problems</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Platform-Specific-Notes">Platform Specific Notes</a>
                            <ul>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Win32">Win32</a>
                            <ul>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Updated-Modules1">Updated Modules</a>
              </li>
          </ul>

              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#OS/21">OS/2</a>
                            <ul>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Updated-Modules2">Updated Modules</a>
              </li>
          </ul>

              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#VMS2">VMS</a>
                            <ul>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Updated-Modules3">Updated Modules</a>
              </li>
          </ul>

              </li>
          </ul>

              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Obituary">Obituary</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Acknowledgements">Acknowledgements</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#Reporting-Bugs">Reporting Bugs</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl589delta.html#SEE-ALSO">SEE ALSO</a>
              </li>
          </ul>

      <h1 id="NAME"><a class="permalink" href="perl589delta.html#NAME">#</a>NAME</h1>

<p>perl589delta - what is new for perl v5.8.9</p>

<h1 id="DESCRIPTION"><a class="permalink" href="perl589delta.html#DESCRIPTION">#</a>DESCRIPTION</h1>

<p>This document describes differences between the 5.8.8 release and the 5.8.9 release.</p>

<h1 id="Notice"><a class="permalink" href="perl589delta.html#Notice">#</a>Notice</h1>

<p>The 5.8.9 release will be the last significant release of the 5.8.x series. Any future releases of 5.8.x will likely only be to deal with security issues, and platform build failures. Hence you should look to migrating to 5.10.x, if you have not started already. See <a href="perl589delta.html#Known-Problems">&quot;Known Problems&quot;</a> for more information.</p>

<h1 id="Incompatible-Changes"><a class="permalink" href="perl589delta.html#Incompatible-Changes">#</a><a id="Incompatible"></a>Incompatible Changes</h1>

<p>A particular construction in the source code of extensions written in C++ may need changing. See <a href="perl589delta.html#Changed-Internals">&quot;Changed Internals&quot;</a> for more details. All extensions written in C, most written in C++, and all existing compiled extensions are unaffected. This was necessary to improve C++ support.</p>

<p>Other than this, there are no changes intentionally incompatible with 5.8.8. If any exist, they are bugs and reports are welcome.</p>

<h1 id="Core-Enhancements"><a class="permalink" href="perl589delta.html#Core-Enhancements">#</a><a id="Core"></a>Core Enhancements</h1>

<h2 id="Unicode-Character-Database-5.1.0."><a class="permalink" href="perl589delta.html#Unicode-Character-Database-5.1.0.">#</a><a id="Unicode1"></a><a id="Unicode-Character-Database-5.1.0"></a>Unicode Character Database 5.1.0.</h2>

<p>The copy of the Unicode Character Database included in Perl 5.8 has been updated to 5.1.0 from 4.1.0. See <a href="http://www.unicode.org/versions/Unicode5.1.0/#NotableChanges">http://www.unicode.org/versions/Unicode5.1.0/#NotableChanges</a> for the notable changes.</p>

<h2 id="stat-and-X-on-directory-handles"><a class="permalink" href="perl589delta.html#stat-and-X-on-directory-handles">#</a><a id="stat"></a><a id="stat-and--X-on-directory-handles"></a>stat and -X on directory handles</h2>

<p>It is now possible to call <code>stat</code> and the <code>-X</code> filestat operators on directory handles. As both directory and file handles are barewords, there can be ambiguities over which was intended. In these situations the file handle semantics are preferred. Both also treat <code>*FILE{IO}</code> filehandles like <code>*FILE</code> filehandles.</p>

<h2 id="Source-filters-in-@INC"><a class="permalink" href="perl589delta.html#Source-filters-in-@INC">#</a><a id="Source"></a><a id="Source-filters-in-INC"></a>Source filters in @INC</h2>

<p>It&#39;s possible to enhance the mechanism of subroutine hooks in @INC by adding a source filter on top of the filehandle opened and returned by the hook. This feature was planned a long time ago, but wasn&#39;t quite working until now. See <a href="perlfunc.html#require">&quot;require&quot; in perlfunc</a> for details. (Nicholas Clark)</p>

<h2 id="Exceptions-in-constant-folding"><a class="permalink" href="perl589delta.html#Exceptions-in-constant-folding">#</a><a id="Exceptions"></a>Exceptions in constant folding</h2>

<p>The constant folding routine is now wrapped in an exception handler, and if folding throws an exception (such as attempting to evaluate 0/0), perl now retains the current optree, rather than aborting the whole program. Without this change, programs would not compile if they had expressions that happened to generate exceptions, even though those expressions were in code that could never be reached at runtime. (Nicholas Clark, Dave Mitchell)</p>

<h2 id="no-VERSION"><a class="permalink" href="perl589delta.html#no-VERSION">#</a><a id="no"></a><code>no VERSION</code></h2>

<p>You can now use <code>no</code> followed by a version number to specify that you want to use a version of perl older than the specified one.</p>

<h2 id="Improved-internal-UTF-8-caching-code"><a class="permalink" href="perl589delta.html#Improved-internal-UTF-8-caching-code">#</a><a id="Improved"></a>Improved internal UTF-8 caching code</h2>

<p>The code that caches calculated UTF-8 byte offsets for character offsets for a string has been re-written. Several bugs have been located and eliminated, and the code now makes better use of the information it has, so should be faster. In particular, it doesn&#39;t scan to the end of a string before calculating an offset within the string, which should speed up some operations on long strings. It is now possible to disable the caching code at run time, to verify that it is not the cause of suspected problems.</p>

<h2 id="Runtime-relocatable-installations"><a class="permalink" href="perl589delta.html#Runtime-relocatable-installations">#</a><a id="Runtime"></a>Runtime relocatable installations</h2>

<p>There is now <i>Configure</i> support for creating a perl tree that is relocatable at run time. see <a href="perl589delta.html#Relocatable-installations">&quot;Relocatable installations&quot;</a>.</p>

<h2 id="New-internal-variables"><a class="permalink" href="perl589delta.html#New-internal-variables">#</a><a id="New"></a>New internal variables</h2>

<dl>

<dt id="${^CHILD_ERROR_NATIVE}"><a class="permalink" href="perl589delta.html#$%7B%5ECHILD_ERROR_NATIVE%7D">#</a><a id="CHILD_ERROR_NATIVE"></a><code>${^CHILD_ERROR_NATIVE}</code></dt>
<dd>

<p>This variable gives the native status returned by the last pipe close, backtick command, successful call to <code>wait</code> or <code>waitpid</code>, or from the <code>system</code> operator. See <a href="perlvar.html">perlvar</a> for details. (Contributed by Gisle Aas.)</p>

</dd>
<dt id="${^UTF8CACHE}"><a class="permalink" href="perl589delta.html#$%7B%5EUTF8CACHE%7D">#</a><a id="UTF8CACHE"></a><code>${^UTF8CACHE}</code></dt>
<dd>

<p>This variable controls the state of the internal UTF-8 offset caching code. 1 for on (the default), 0 for off, -1 to debug the caching code by checking all its results against linear scans, and panicking on any discrepancy.</p>

</dd>
</dl>

<h2 id="readpipe-is-now-overridable"><a class="permalink" href="perl589delta.html#readpipe-is-now-overridable">#</a><a id="readpipe"></a><code>readpipe</code> is now overridable</h2>

<p>The built-in function <code>readpipe</code> is now overridable. Overriding it permits also to override its operator counterpart, <code>qx//</code> (also known as <code>``</code>).</p>

<h2 id="simple-exception-handling-macros"><a class="permalink" href="perl589delta.html#simple-exception-handling-macros">#</a><a id="simple"></a>simple exception handling macros</h2>

<p>Perl 5.8.9 (and 5.10.0 onwards) now provides a couple of macros to do very basic exception handling in XS modules. You can use these macros if you call code that may <code>croak</code>, but you need to do some cleanup before giving control back to Perl. See <a href="perlguts.html#Exception-Handling">&quot;Exception Handling&quot; in perlguts</a> for more details.</p>

<h2 id="-D-option-enhancements"><a class="permalink" href="perl589delta.html#-D-option-enhancements">#</a><a id="D-option-enhancements"></a>-D option enhancements</h2>

<ul>

<li><p><code>-Dq</code> suppresses the <i>EXECUTING...</i> message when running under <code>-D</code></p>

</li>
<li><p><code>-Dl</code> logs runops loop entry and exit, and jump level popping.</p>

</li>
<li><p><code>-Dv</code> displays the process id as part of the trace output.</p>

</li>
</ul>

<h2 id="XS-assisted-SWASHGET"><a class="permalink" href="perl589delta.html#XS-assisted-SWASHGET">#</a><a id="XS"></a>XS-assisted SWASHGET</h2>

<p>Some pure-perl code that the regexp engine was using to retrieve Unicode properties and transliteration mappings has been reimplemented in XS for faster execution. (SADAHIRO Tomoyuki)</p>

<h2 id="Constant-subroutines"><a class="permalink" href="perl589delta.html#Constant-subroutines">#</a><a id="Constant"></a>Constant subroutines</h2>

<p>The interpreter internals now support a far more memory efficient form of inlineable constants. Storing a reference to a constant value in a symbol table is equivalent to a full typeglob referencing a constant subroutine, but using about 400 bytes less memory. This proxy constant subroutine is automatically upgraded to a real typeglob with subroutine if necessary. The approach taken is analogous to the existing space optimisation for subroutine stub declarations, which are stored as plain scalars in place of the full typeglob.</p>

<p>However, to aid backwards compatibility of existing code, which (wrongly) does not expect anything other than typeglobs in symbol tables, nothing in core uses this feature, other than the regression tests.</p>

<p>Stubs for prototyped subroutines have been stored in symbol tables as plain strings, and stubs for unprototyped subroutines as the number -1, since 5.005, so code which assumes that the core only places typeglobs in symbol tables has been making incorrect assumptions for over 10 years.</p>

<h1 id="New-Platforms"><a class="permalink" href="perl589delta.html#New-Platforms">#</a><a id="New1"></a>New Platforms</h1>

<p>Compile support added for:</p>

<ul>

<li><p>DragonFlyBSD</p>

</li>
<li><p>MidnightBSD</p>

</li>
<li><p>MirOS BSD</p>

</li>
<li><p>RISC OS</p>

</li>
<li><p>Cray XT4/Catamount</p>

</li>
</ul>

<h1 id="Modules-and-Pragmata"><a class="permalink" href="perl589delta.html#Modules-and-Pragmata">#</a><a id="Modules"></a>Modules and Pragmata</h1>

<h2 id="New-Modules"><a class="permalink" href="perl589delta.html#New-Modules">#</a><a id="New2"></a>New Modules</h2>

<ul>

<li><p><code>Module::Pluggable</code> is a simple framework to create modules that accept pluggable sub-modules. The bundled version is 3.8</p>

</li>
<li><p><code>Module::CoreList</code> is a hash of hashes that is keyed on perl version as indicated in <code>$]</code>. The bundled version is 2.17</p>

</li>
<li><p><code>Win32API::File</code> now available in core on Microsoft Windows. The bundled version is 0.1001_01</p>

</li>
<li><p><code>Devel::InnerPackage</code> finds all the packages defined by a single file. It is part of the <code>Module::Pluggable</code> distribution. The bundled version is 0.3</p>

</li>
</ul>

<h2 id="Updated-Modules"><a class="permalink" href="perl589delta.html#Updated-Modules">#</a><a id="Updated"></a>Updated Modules</h2>

<ul>

<li><p><code>attributes</code> upgraded to version 0.09</p>

</li>
<li><p><code>AutoLoader</code> upgraded to version 5.67</p>

</li>
<li><p><code>AutoSplit</code> upgraded to 1.06</p>

</li>
<li><p><code>autouse</code> upgraded to version 1.06</p>

</li>
<li><p><code>B</code> upgraded from 1.09_01 to 1.19</p>

<ul>

<li><p>provides new pad related abstraction macros <code>B::NV::COP_SEQ_RANGE_LOW</code>, <code>B::NV::COP_SEQ_RANGE_HIGH</code>, <code>B::NV::PARENT_PAD_INDEX</code>, <code>B::NV::PARENT_FAKELEX_FLAGS</code>, which hides the difference in storage in 5.10.0 and later.</p>

</li>
<li><p>provides <code>B::sub_generation</code>, which exposes <code>PL_sub_generation</code></p>

</li>
<li><p>provides <code>B::GV::isGV_with_GP</code>, which on pre-5.10 perls always returns true.</p>

</li>
<li><p>New type <code>B::HE</code> added with methods <code>VAL</code>, <code>HASH</code> and <code>SVKEY_force</code></p>

</li>
<li><p>The <code>B::GVf_IMPORTED_CV</code> flag is now set correctly when a proxy constant subroutine is imported.</p>

</li>
<li><p>bugs fixed in the handling of <code>PMOP</code>s.</p>

</li>
<li><p><code>B::BM::PREVIOUS</code> returns now <code>U32</code>, not <code>U16</code>. <code>B::CV::START</code> and <code>B:CV::ROOT</code> return now <code>NULL</code> on an XSUB, <code>B::CV::XSUB</code> and <code>B::CV::XSUBANY</code> return 0 on a non-XSUB.</p>

</li>
</ul>

</li>
<li><p><code>B::C</code> upgraded to 1.05</p>

</li>
<li><p><code>B::Concise</code> upgraded to 0.76</p>

<ul>

<li><p>new option <code>-src</code> causes the rendering of each statement (starting with the nextstate OP) to be preceded by the first line of source code that generates it.</p>

</li>
<li><p>new option <code>-stash=&quot;somepackage&quot;</code>, <code>require</code>s &quot;somepackage&quot;, and then renders each function defined in its namespace.</p>

</li>
<li><p>now has documentation of detailed hint symbols.</p>

</li>
</ul>

</li>
<li><p><code>B::Debug</code> upgraded to version 1.05</p>

</li>
<li><p><code>B::Deparse</code> upgraded to version 0.87</p>

<ul>

<li><p>properly deparse <code>print readpipe $x, $y</code>.</p>

</li>
<li><p>now handles <code>&#39;&#39;-&gt;()</code>, <code>::()</code>, <code>sub :: {}</code>, <i>etc.</i> correctly [RT #43010]. All bugs in parsing these kinds of syntax are now fixed:</p>

<pre><code>perl -MO=Deparse -e &#39;&quot;my %h = &quot;-&gt;()&#39;
perl -MO=Deparse -e &#39;::-&gt;()&#39;
perl -MO=Deparse -e &#39;sub :: {}&#39;
perl -MO=Deparse -e &#39;package a; sub a::b::c {}&#39;
perl -MO=Deparse -e &#39;sub the::main::road {}&#39;</code></pre>

</li>
<li><p>does <b>not</b> deparse <code>$^H{v_string}</code>, which is automatically set by the internals.</p>

</li>
</ul>

</li>
<li><p><code>B::Lint</code> upgraded to version 1.11</p>

</li>
<li><p><code>B::Terse</code> upgraded to version 1.05</p>

</li>
<li><p><code>base</code> upgraded to version 2.13</p>

<ul>

<li><p>loading a module via base.pm would mask a global <code>$SIG{__DIE__}</code> in that module.</p>

</li>
<li><p>push all classes at once in <code>@ISA</code></p>

</li>
</ul>

</li>
<li><p><code>Benchmark</code> upgraded to version 1.10</p>

</li>
<li><p><code>bigint</code> upgraded to 0.23</p>

</li>
<li><p><code>bignum</code> upgraded to 0.23</p>

</li>
<li><p><code>bigrat</code> upgraded to 0.23</p>

</li>
<li><p><code>blib</code> upgraded to 0.04</p>

</li>
<li><p><code>Carp</code> upgraded to version 1.10</p>

<p>The argument backtrace code now shows <code>undef</code> as <code>undef</code>, instead of a string <i>&quot;undef&quot;</i>.</p>

</li>
<li><p><code>CGI</code> upgraded to version 3.42</p>

</li>
<li><p><code>charnames</code> upgraded to 1.06</p>

</li>
<li><p><code>constant</code> upgraded to version 1.17</p>

</li>
<li><p><code>CPAN</code> upgraded to version 1.9301</p>

</li>
<li><p><code>Cwd</code> upgraded to version 3.29 with some platform specific improvements (including for VMS).</p>

</li>
<li><p><code>Data::Dumper</code> upgraded to version 2.121_17</p>

<ul>

<li><p>Fixes hash iterator current position with the pure Perl version [RT #40668]</p>

</li>
<li><p>Performance enhancements, which will be most evident on platforms where repeated calls to C&#39;s <code>realloc()</code> are slow, such as Win32.</p>

</li>
</ul>

</li>
<li><p><code>DB_File</code> upgraded to version 1.817</p>

</li>
<li><p><code>DB_Filter</code> upgraded to version 0.02</p>

</li>
<li><p><code>Devel::DProf</code> upgraded to version 20080331.00</p>

</li>
<li><p><code>Devel::Peek</code> upgraded to version 1.04</p>

</li>
<li><p><code>Devel::PPPort</code> upgraded to version 3.14</p>

</li>
<li><p><code>diagnostics</code> upgraded to version 1.16</p>

</li>
<li><p><code>Digest</code> upgraded to version 1.15</p>

</li>
<li><p><code>Digest::MD5</code> upgraded to version 2.37</p>

</li>
<li><p><code>DirHandle</code> upgraded to version 1.02</p>

<ul>

<li><p>now localises <code>$.</code>, <code>$@</code>, <code>$!</code>, <code>$^E</code>, and <code>$?</code> before closing the directory handle to suppress leaking any side effects of warnings about it already being closed.</p>

</li>
</ul>

</li>
<li><p><code>DynaLoader</code> upgraded to version 1.09</p>

<p><code>DynaLoader</code> can now dynamically load a loadable object from a file with a non-default file extension.</p>

</li>
<li><p><code>Encode</code> upgraded to version 2.26</p>

<p><code>Encode::Alias</code> includes a fix for encoding &quot;646&quot; on Solaris (better known as ASCII).</p>

</li>
<li><p><code>English</code> upgraded to version 1.03</p>

</li>
<li><p><code>Errno</code> upgraded to version 1.10</p>

</li>
<li><p><code>Exporter</code> upgraded to version 5.63</p>

</li>
<li><p><code>ExtUtils::Command</code> upgraded to version 1.15</p>

</li>
<li><p><code>ExtUtils::Constant</code> upgraded to version 0.21</p>

</li>
<li><p><code>ExtUtils::Embed</code> upgraded to version 1.28</p>

</li>
<li><p><code>ExtUtils::Install</code> upgraded to version 1.50_01</p>

</li>
<li><p><code>ExtUtils::Installed</code> upgraded to version 1.43</p>

</li>
<li><p><code>ExtUtils::MakeMaker</code> upgraded to version 6.48</p>

<ul>

<li><p>support for <code>INSTALLSITESCRIPT</code> and <code>INSTALLVENDORSCRIPT</code> configuration.</p>

</li>
</ul>

</li>
<li><p><code>ExtUtils::Manifest</code> upgraded to version 1.55</p>

</li>
<li><p><code>ExtUtils::ParseXS</code> upgraded to version 2.19</p>

</li>
<li><p><code>Fatal</code> upgraded to version 1.06</p>

<ul>

<li><p>allows built-ins in <code>CORE::GLOBAL</code> to be made fatal.</p>

</li>
</ul>

</li>
<li><p><code>Fcntl</code> upgraded to version 1.06</p>

</li>
<li><p><code>fields</code> upgraded to version 2.12</p>

</li>
<li><p><code>File::Basename</code> upgraded to version 2.77</p>

</li>
<li><p><code>FileCache</code> upgraded to version 1.07</p>

</li>
<li><p><code>File::Compare</code> upgraded to 1.1005</p>

</li>
<li><p><code>File::Copy</code> upgraded to 2.13</p>

<ul>

<li><p>now uses 3-arg open.</p>

</li>
</ul>

</li>
<li><p><code>File::DosGlob</code> upgraded to 1.01</p>

</li>
<li><p><code>File::Find</code> upgraded to version 1.13</p>

</li>
<li><p><code>File::Glob</code> upgraded to version 1.06</p>

<ul>

<li><p>fixes spurious results with brackets inside braces.</p>

</li>
</ul>

</li>
<li><p><code>File::Path</code> upgraded to version 2.07_02</p>

</li>
<li><p><code>File::Spec</code> upgraded to version 3.29</p>

<ul>

<li><p>improved handling of bad arguments.</p>

</li>
<li><p>some platform specific improvements (including for VMS and Cygwin), with an optimisation on <code>abs2rel</code> when handling both relative arguments.</p>

</li>
</ul>

</li>
<li><p><code>File::stat</code> upgraded to version 1.01</p>

</li>
<li><p><code>File::Temp</code> upgraded to version 0.20</p>

</li>
<li><p><code>filetest</code> upgraded to version 1.02</p>

</li>
<li><p><code>Filter::Util::Call</code> upgraded to version 1.07</p>

</li>
<li><p><code>Filter::Simple</code> upgraded to version 0.83</p>

</li>
<li><p><code>FindBin</code> upgraded to version 1.49</p>

</li>
<li><p><code>GDBM_File</code> upgraded to version 1.09</p>

</li>
<li><p><code>Getopt::Long</code> upgraded to version 2.37</p>

</li>
<li><p><code>Getopt::Std</code> upgraded to version 1.06</p>

</li>
<li><p><code>Hash::Util</code> upgraded to version 0.06</p>

</li>
<li><p><code>if</code> upgraded to version 0.05</p>

</li>
<li><p><code>IO</code> upgraded to version 1.23</p>

<p>Reduced number of calls to <code>getpeername</code> in <code>IO::Socket</code></p>

</li>
<li><p><code>IPC::Open</code> upgraded to version 1.03</p>

</li>
<li><p><code>IPC::Open3</code> upgraded to version 1.03</p>

</li>
<li><p><code>IPC::SysV</code> upgraded to version 2.00</p>

</li>
<li><p><code>lib</code> upgraded to version 0.61</p>

<ul>

<li><p>avoid warning about loading <i>.par</i> files.</p>

</li>
</ul>

</li>
<li><p><code>libnet</code> upgraded to version 1.22</p>

</li>
<li><p><code>List::Util</code> upgraded to 1.19</p>

</li>
<li><p><code>Locale::Maketext</code> upgraded to 1.13</p>

</li>
<li><p><code>Math::BigFloat</code> upgraded to version 1.60</p>

</li>
<li><p><code>Math::BigInt</code> upgraded to version 1.89</p>

</li>
<li><p><code>Math::BigRat</code> upgraded to version 0.22</p>

<ul>

<li><p>implements new <code>as_float</code> method.</p>

</li>
</ul>

</li>
<li><p><code>Math::Complex</code> upgraded to version 1.54.</p>

</li>
<li><p><code>Math::Trig</code> upgraded to version 1.18.</p>

</li>
<li><p><code>NDBM_File</code> upgraded to version 1.07</p>

<ul>

<li><p>improve <i>g++</i> handling for systems using GDBM compatibility headers.</p>

</li>
</ul>

</li>
<li><p><code>Net::Ping</code> upgraded to version 2.35</p>

</li>
<li><p><code>NEXT</code> upgraded to version 0.61</p>

<ul>

<li><p>fix several bugs with <code>NEXT</code> when working with <code>AUTOLOAD</code>, <code>eval</code> block, and within overloaded stringification.</p>

</li>
</ul>

</li>
<li><p><code>ODBM_File</code> upgraded to 1.07</p>

</li>
<li><p><code>open</code> upgraded to 1.06</p>

</li>
<li><p><code>ops</code> upgraded to 1.02</p>

</li>
<li><p><code>PerlIO::encoding</code> upgraded to version 0.11</p>

</li>
<li><p><code>PerlIO::scalar</code> upgraded to version 0.06</p>

<ul>

<li><p>[RT #40267] <code>PerlIO::scalar</code> doesn&#39;t respect readonly-ness.</p>

</li>
</ul>

</li>
<li><p><code>PerlIO::via</code> upgraded to version 0.05</p>

</li>
<li><p><code>Pod::Html</code> upgraded to version 1.09</p>

</li>
<li><p><code>Pod::Parser</code> upgraded to version 1.35</p>

</li>
<li><p><code>Pod::Usage</code> upgraded to version 1.35</p>

</li>
<li><p><code>POSIX</code> upgraded to version 1.15</p>

<ul>

<li><p><code>POSIX</code> constants that duplicate those in <code>Fcntl</code> are now imported from <code>Fcntl</code> and re-exported, rather than being duplicated by <code>POSIX</code></p>

</li>
<li><p><code>POSIX::remove</code> can remove empty directories.</p>

</li>
<li><p><code>POSIX::setlocale</code> safer to call multiple times.</p>

</li>
<li><p><code>POSIX::SigRt</code> added, which provides access to POSIX realtime signal functionality on systems that support it.</p>

</li>
</ul>

</li>
<li><p><code>re</code> upgraded to version 0.06_01</p>

</li>
<li><p><code>Safe</code> upgraded to version 2.16</p>

</li>
<li><p><code>Scalar::Util</code> upgraded to 1.19</p>

</li>
<li><p><code>SDBM_File</code> upgraded to version 1.06</p>

</li>
<li><p><code>SelfLoader</code> upgraded to version 1.17</p>

</li>
<li><p><code>Shell</code> upgraded to version 0.72</p>

</li>
<li><p><code>sigtrap</code> upgraded to version 1.04</p>

</li>
<li><p><code>Socket</code> upgraded to version 1.81</p>

<ul>

<li><p>this fixes an optimistic use of <code>gethostbyname</code></p>

</li>
</ul>

</li>
<li><p><code>Storable</code> upgraded to 2.19</p>

</li>
<li><p><code>Switch</code> upgraded to version 2.13</p>

</li>
<li><p><code>Sys::Syslog</code> upgraded to version 0.27</p>

</li>
<li><p><code>Term::ANSIColor</code> upgraded to version 1.12</p>

</li>
<li><p><code>Term::Cap</code> upgraded to version 1.12</p>

</li>
<li><p><code>Term::ReadLine</code> upgraded to version 1.03</p>

</li>
<li><p><code>Test::Builder</code> upgraded to version 0.80</p>

</li>
<li><p><code>Test::Harness</code> upgraded version to 2.64</p>

<ul>

<li><p>this makes it able to handle newlines.</p>

</li>
</ul>

</li>
<li><p><code>Test::More</code> upgraded to version 0.80</p>

</li>
<li><p><code>Test::Simple</code> upgraded to version 0.80</p>

</li>
<li><p><code>Text::Balanced</code> upgraded to version 1.98</p>

</li>
<li><p><code>Text::ParseWords</code> upgraded to version 3.27</p>

</li>
<li><p><code>Text::Soundex</code> upgraded to version 3.03</p>

</li>
<li><p><code>Text::Tabs</code> upgraded to version 2007.1117</p>

</li>
<li><p><code>Text::Wrap</code> upgraded to version 2006.1117</p>

</li>
<li><p><code>Thread</code> upgraded to version 2.01</p>

</li>
<li><p><code>Thread::Semaphore</code> upgraded to version 2.09</p>

</li>
<li><p><code>Thread::Queue</code> upgraded to version 2.11</p>

<ul>

<li><p>added capability to add complex structures (e.g., hash of hashes) to queues.</p>

</li>
<li><p>added capability to dequeue multiple items at once.</p>

</li>
<li><p>added new methods to inspect and manipulate queues: <code>peek</code>, <code>insert</code> and <code>extract</code></p>

</li>
</ul>

</li>
<li><p><code>Tie::Handle</code> upgraded to version 4.2</p>

</li>
<li><p><code>Tie::Hash</code> upgraded to version 1.03</p>

</li>
<li><p><code>Tie::Memoize</code> upgraded to version 1.1</p>

<ul>

<li><p><code>Tie::Memoize::EXISTS</code> now correctly caches its results.</p>

</li>
</ul>

</li>
<li><p><code>Tie::RefHash</code> upgraded to version 1.38</p>

</li>
<li><p><code>Tie::Scalar</code> upgraded to version 1.01</p>

</li>
<li><p><code>Tie::StdHandle</code> upgraded to version 4.2</p>

</li>
<li><p><code>Time::gmtime</code> upgraded to version 1.03</p>

</li>
<li><p><code>Time::Local</code> upgraded to version 1.1901</p>

</li>
<li><p><code>Time::HiRes</code> upgraded to version 1.9715 with various build improvements (including VMS) and minor platform-specific bug fixes (including for HP-UX 11 ia64).</p>

</li>
<li><p><code>threads</code> upgraded to 1.71</p>

<ul>

<li><p>new thread state information methods: <code>is_running</code>, <code>is_detached</code> and <code>is_joinable</code>. <code>list</code> method enhanced to return running or joinable threads.</p>

</li>
<li><p>new thread signal method: <code>kill</code></p>

</li>
<li><p>added capability to specify thread stack size.</p>

</li>
<li><p>added capability to control thread exiting behavior. Added a new <code>exit</code> method.</p>

</li>
</ul>

</li>
<li><p><code>threads::shared</code> upgraded to version 1.27</p>

<ul>

<li><p>smaller and faster implementation that eliminates one internal structure and the consequent level of indirection.</p>

</li>
<li><p>user locks are now stored in a safer manner.</p>

</li>
<li><p>new function <code>shared_clone</code> creates a copy of an object leaving shared elements as-is and deep-cloning non-shared elements.</p>

</li>
<li><p>added new <code>is_shared</code> method.</p>

</li>
</ul>

</li>
<li><p><code>Unicode::Normalize</code> upgraded to version 1.02</p>

</li>
<li><p><code>Unicode::UCD</code> upgraded to version 0.25</p>

</li>
<li><p><code>warnings</code> upgraded to version 1.05_01</p>

</li>
<li><p><code>Win32</code> upgraded to version 0.38</p>

<ul>

<li><p>added new function <code>GetCurrentProcessId</code> which returns the regular Windows process identifier of the current process, even when called from within a fork.</p>

</li>
</ul>

</li>
<li><p><code>XSLoader</code> upgraded to version 0.10</p>

</li>
<li><p><code>XS::APItest</code> and <code>XS::Typemap</code> are for internal use only and hence no longer installed. Many more tests have been added to <code>XS::APItest</code>.</p>

</li>
</ul>

<h1 id="Utility-Changes"><a class="permalink" href="perl589delta.html#Utility-Changes">#</a><a id="Utility"></a>Utility Changes</h1>

<h2 id="debugger-upgraded-to-version-1.31"><a class="permalink" href="perl589delta.html#debugger-upgraded-to-version-1.31">#</a><a id="debugger"></a>debugger upgraded to version 1.31</h2>

<ul>

<li><p>Andreas König contributed two functions to save and load the debugger history.</p>

</li>
<li><p><code>NEXT::AUTOLOAD</code> no longer emits warnings under the debugger.</p>

</li>
<li><p>The debugger should now correctly find tty the device on OS X 10.5 and VMS when the program <code>fork</code>s.</p>

</li>
<li><p>LVALUE subs now work inside the debugger.</p>

</li>
</ul>

<h2 id="perlthanks"><a class="permalink" href="perl589delta.html#perlthanks">#</a><i>perlthanks</i></h2>

<p>Perl 5.8.9 adds a new utility <i>perlthanks</i>, which is a variant of <i>perlbug</i>, but for sending non-bug-reports to the authors and maintainers of Perl. Getting nothing but bug reports can become a bit demoralising - we&#39;ll see if this changes things.</p>

<h2 id="perlbug"><a class="permalink" href="perl589delta.html#perlbug">#</a><i>perlbug</i></h2>

<p><i>perlbug</i> now checks if you&#39;re reporting about a non-core module and suggests you report it to the CPAN author instead.</p>

<h2 id="h2xs"><a class="permalink" href="perl589delta.html#h2xs">#</a><i>h2xs</i></h2>

<ul>

<li><p>won&#39;t define an empty string as a constant [RT #25366]</p>

</li>
<li><p>has examples for <code>h2xs -X</code></p>

</li>
</ul>

<h2 id="h2ph"><a class="permalink" href="perl589delta.html#h2ph">#</a><i>h2ph</i></h2>

<ul>

<li><p>now attempts to deal sensibly with the difference in path implications between <code>&quot;&quot;</code> and <code>&lt;&gt;</code> quoting in <code>#include</code> statements.</p>

</li>
<li><p>now generates correct code for <code>#if defined A || defined B</code> [RT #39130]</p>

</li>
</ul>

<h1 id="New-Documentation"><a class="permalink" href="perl589delta.html#New-Documentation">#</a><a id="New3"></a>New Documentation</h1>

<p>As usual, the documentation received its share of corrections, clarifications and other nitfixes. More <code></code> tags were added for indexing.</p>

<p><a href="perlunitut.html">perlunitut</a> is a tutorial written by Juerd Waalboer on Unicode-related terminology and how to correctly handle Unicode in Perl scripts.</p>

<p><a href="perlunicode.html">perlunicode</a> is updated in section user defined properties.</p>

<p><a href="perluniintro.html">perluniintro</a> has been updated in the example of detecting data that is not valid in particular encoding.</p>

<p><a href="perlcommunity.html">perlcommunity</a> provides an overview of the Perl Community along with further resources.</p>

<p><a href="CORE.html">CORE</a> documents the pseudo-namespace for Perl&#39;s core routines.</p>

<h1 id="Changes-to-Existing-Documentation"><a class="permalink" href="perl589delta.html#Changes-to-Existing-Documentation">#</a><a id="Changes"></a>Changes to Existing Documentation</h1>

<p><a href="perlglossary.html">perlglossary</a> adds <i>deprecated modules and features</i> and <i>to be dropped modules</i>.</p>

<p><a href="perlhack.html">perlhack</a> has been updated and added resources on smoke testing.</p>

<p>The Perl FAQs (<i>perlfaq1</i>..<i>perlfaq9</i>) have been updated.</p>

<p><a href="perlcheat.html">perlcheat</a> is updated with better details on <code>\w</code>, <code>\d</code>, and <code>\s</code>.</p>

<p><a href="perldebug.html">perldebug</a> is updated with information on how to call the debugger.</p>

<p><a href="perldiag.html">perldiag</a> documentation updated with <i>subroutine with an ampersand</i> on the argument to <code>exists</code> and <code>delete</code> and also several terminology updates on warnings.</p>

<p><a href="perlfork.html">perlfork</a> documents the limitation of <code>exec</code> inside pseudo-processes.</p>

<p><a href="perlfunc.html">perlfunc</a>:</p>

<ul>

<li><p>Documentation is fixed in section <code>caller</code> and <code>pop</code>.</p>

</li>
<li><p>Function <code>alarm</code> now mentions <code>Time::HiRes::ualarm</code> in preference to <code>select</code>.</p>

</li>
<li><p>Regarding precedence in <code>-X</code>, filetest operators are the same as unary operators, but not regarding parsing and parentheses (spotted by Eirik Berg Hanssen).</p>

</li>
<li><p><code>reverse</code> function documentation received scalar context examples.</p>

</li>
</ul>

<p><a href="perllocale.html">perllocale</a> documentation is adjusted for number localization and <code>POSIX::setlocale</code> to fix Debian bug #379463.</p>

<p><a href="perlmodlib.html">perlmodlib</a> is updated with <code>CPAN::API::HOWTO</code> and <code>Sys::Syslog::win32::Win32</code></p>

<p><a href="perlre.html">perlre</a> documentation updated to reflect the differences between <code>[[:xxxxx:]]</code> and <code>\p{IsXxxxx}</code> matches. Also added section on <code>/g</code> and <code>/c</code> modifiers.</p>

<p><a href="perlreguts.html">perlreguts</a> describe the internals of the regular expressions engine. It has been contributed by Yves Orton.</p>

<p><a href="perlrebackslash.html">perlrebackslash</a> describes all perl regular expression backslash and escape sequences.</p>

<p><a href="perlrecharclass.html">perlrecharclass</a> describes the syntax and use of character classes in Perl Regular Expressions.</p>

<p><a href="perlrun.html">perlrun</a> is updated to clarify on the hash seed <i>PERL_HASH_SEED</i>. Also more information in options <code>-x</code> and <code>-u</code>.</p>

<p><a href="perlsub.html">perlsub</a> example is updated to use a lexical variable for <code>opendir</code> syntax.</p>

<p><a href="perlvar.html">perlvar</a> fixes confusion about real GID <code>$(</code> and effective GID <code>$)</code>.</p>

<p>Perl thread tutorial example is fixed in section <a href="perlthrtut.html#Queues%3A-Passing-Data-Around">&quot;Queues: Passing Data Around&quot; in perlthrtut</a> and <a href="perlthrtut.html">perlthrtut</a>.</p>

<p><a href="perlhack.html">perlhack</a> documentation extensively improved by Jarkko Hietaniemi and others.</p>

<p><a href="perltoot.html">perltoot</a> provides information on modifying <code>@UNIVERSAL::ISA</code>.</p>

<p><a href="perlport.html">perlport</a> documentation extended to include different <code>kill(-9, ...)</code> semantics on Windows. It also clearly states <code>dump</code> is not supported on Win32 and cygwin.</p>

<p><i>INSTALL</i> has been updated and modernised.</p>

<h1 id="Performance-Enhancements"><a class="permalink" href="perl589delta.html#Performance-Enhancements">#</a><a id="Performance"></a>Performance Enhancements</h1>

<ul>

<li><p>The default since perl 5.000 has been for perl to create an empty scalar with every new typeglob. The increased use of lexical variables means that most are now unused. Thanks to Nicholas Clark&#39;s efforts, Perl can now be compiled with <code>-DPERL_DONT_CREATE_GVSV</code> to avoid creating these empty scalars. This will significantly decrease the number of scalars allocated for all configurations, and the number of scalars that need to be copied for ithread creation. Whilst this option is binary compatible with existing perl installations, it does change a long-standing assumption about the internals, hence it is not enabled by default, as some third party code may rely on the old behaviour.</p>

<p>We would recommend testing with this configuration on new deployments of perl, particularly for multi-threaded servers, to see whether all third party code is compatible with it, as this configuration may give useful performance improvements. For existing installations we would not recommend changing to this configuration unless thorough testing is performed before deployment.</p>

</li>
<li><p><code>diagnostics</code> no longer uses <code>$&amp;</code>, which results in large speedups for regexp matching in all code using it.</p>

</li>
<li><p>Regular expressions classes of a single character are now treated the same as if the character had been used as a literal, meaning that code that uses char-classes as an escaping mechanism will see a speedup. (Yves Orton)</p>

</li>
<li><p>Creating anonymous array and hash references (ie. <code>[]</code> and <code>{}</code>) now incurs no more overhead than creating an anonymous list or hash. Nicholas Clark provided changes with a saving of two ops and one stack push, which was measured as a slightly better than 5% improvement for these operations.</p>

</li>
<li><p>Many calls to <code>strlen()</code> have been eliminated, either because the length was already known, or by adopting or enhancing APIs that pass lengths. This has been aided by the adoption of a <code>my_sprintf()</code> wrapper, which returns the correct C89 value - the length of the formatted string. Previously we could not rely on the return value of <code>sprintf()</code>, because on some ancient but extant platforms it still returns <code>char *</code>.</p>

</li>
<li><p><code>index</code> is now faster if the search string is stored in UTF-8 but only contains characters in the Latin-1 range.</p>

</li>
<li><p>The Unicode swatch cache inside the regexp engine is now used. (the lookup had a key mismatch, present since the initial implementation). [RT #42839]</p>

</li>
</ul>

<h1 id="Installation-and-Configuration-Improvements"><a class="permalink" href="perl589delta.html#Installation-and-Configuration-Improvements">#</a><a id="Installation"></a>Installation and Configuration Improvements</h1>

<h2 id="Relocatable-installations"><a class="permalink" href="perl589delta.html#Relocatable-installations">#</a><a id="Relocatable"></a>Relocatable installations</h2>

<p>There is now <i>Configure</i> support for creating a relocatable perl tree. If you <i>Configure</i> with <code>-Duserelocatableinc</code>, then the paths in <code>@INC</code> (and everything else in <code>%Config</code>) can be optionally located via the path of the <i>perl</i> executable.</p>

<p>At start time, if any paths in <code>@INC</code> or <code>Config</code> that <i>Configure</i> marked as relocatable (by starting them with <code>&quot;.../&quot;</code>), then they are prefixed the directory of <code>$^X</code>. This allows the relocation can be configured on a per-directory basis, although the default with <code>-Duserelocatableinc</code> is that everything is relocated. The initial install is done to the original configured prefix.</p>

<h2 id="Configuration-improvements"><a class="permalink" href="perl589delta.html#Configuration-improvements">#</a><a id="Configuration"></a>Configuration improvements</h2>

<p><i>Configure</i> is now better at removing temporary files. Tom Callaway (from RedHat) also contributed patches that complete the set of flags passed to the compiler and the linker, in particular that <code>-fPIC</code> is now enabled on Linux. It will also croak when your <i>/dev/null</i> isn&#39;t a device.</p>

<p>A new configuration variable <code>d_pseudofork</code> has been to <i>Configure</i>, and is available as <code>$Config{d_pseudofork}</code> in the <code>Config</code> module. This distinguishes real <code>fork</code> support from the pseudofork emulation used on Windows platforms.</p>

<p><i>Config.pod</i> and <i>config.sh</i> are now placed correctly for cross-compilation.</p>

<p><code>$Config{useshrplib}</code> is now &#39;true&#39; rather than &#39;yes&#39; when using a shared perl library.</p>

<h2 id="Compilation-improvements"><a class="permalink" href="perl589delta.html#Compilation-improvements">#</a><a id="Compilation"></a>Compilation improvements</h2>

<p>Parallel makes should work properly now, although there may still be problems if <code>make test</code> is instructed to run in parallel.</p>

<p>Many compilation warnings have been cleaned up. A very stubborn compiler warning in <code>S_emulate_eaccess()</code> was killed after six attempts. <i>g++</i> support has been tuned, especially for FreeBSD.</p>

<p><i>mkppport</i> has been integrated, and all <i>ppport.h</i> files in the core will now be autogenerated at build time (and removed during cleanup).</p>

<h2 id="Installation-improvements."><a class="permalink" href="perl589delta.html#Installation-improvements.">#</a><a id="Installation1"></a><a id="Installation-improvements"></a>Installation improvements.</h2>

<p><i>installman</i> now works with <code>-Duserelocatableinc</code> and <code>DESTDIR</code>.</p>

<p><i>installperl</i> no longer installs:</p>

<ul>

<li><p>static library files of statically linked extensions when a shared perl library is being used. (They are not needed. See <a href="perl589delta.html#Windows">&quot;Windows&quot;</a> below).</p>

</li>
<li><p><i>SIGNATURE</i> and <i>PAUSE*.pub</i> (CPAN files)</p>

</li>
<li><p><i>NOTES</i> and <i>PATCHING</i> (ExtUtils files)</p>

</li>
<li><p><i>perlld</i> and <i>ld2</i> (Cygwin files)</p>

</li>
</ul>

<h2 id="Platform-Specific-Changes"><a class="permalink" href="perl589delta.html#Platform-Specific-Changes">#</a><a id="Platform"></a>Platform Specific Changes</h2>

<p>There are improved hints for AIX, Cygwin, DEC/OSF, FreeBSD, HP/UX, Irix 6 Linux, MachTen, NetBSD, OS/390, QNX, SCO, Solaris, SunOS, System V Release 5.x (UnixWare 7, OpenUNIX 8), Ultrix, UMIPS, uts and VOS.</p>

<h3 id="FreeBSD"><a class="permalink" href="perl589delta.html#FreeBSD">#</a>FreeBSD</h3>

<ul>

<li><p>Drop <code>-std=c89</code> and <code>-ansi</code> if using <code>long long</code> as the main integral type, else in FreeBSD 6.2 (and perhaps other releases), system headers do not declare some functions required by perl.</p>

</li>
</ul>

<h3 id="Solaris"><a class="permalink" href="perl589delta.html#Solaris">#</a>Solaris</h3>

<ul>

<li><p>Starting with Solaris 10, we do not want versioned shared libraries, because those often indicate a private use only library. These problems could often be triggered when <a href="https://perldoc.perl.org/5.35.0/SUNWbdb">SUNWbdb</a> (Berkeley DB) was installed. Hence if Solaris 10 is detected set <code>ignore_versioned_solibs=y</code>.</p>

</li>
</ul>

<h3 id="VMS"><a class="permalink" href="perl589delta.html#VMS">#</a>VMS</h3>

<ul>

<li><p>Allow IEEE math to be deselected on OpenVMS I64 (but it remains the default).</p>

</li>
<li><p>Record IEEE usage in <code>config.h</code></p>

</li>
<li><p>Help older VMS compilers by using <code>ccflags</code> when building <code>munchconfig.exe</code>.</p>

</li>
<li><p>Don&#39;t try to build old <code>Thread</code> extension on VMS when <code>-Duseithreads</code> has been chosen.</p>

</li>
<li><p>Passing a raw string of &quot;NaN&quot; to <i>nawk</i> causes a core dump - so the string has been changed to &quot;*NaN*&quot;</p>

</li>
<li><p><i>t/op/stat.t</i> tests will now test hard links on VMS if they are supported.</p>

</li>
</ul>

<h3 id="Windows"><a class="permalink" href="perl589delta.html#Windows">#</a>Windows</h3>

<ul>

<li><p>When using a shared perl library <i>installperl</i> no longer installs static library files, import library files and export library files (of statically linked extensions) and empty bootstrap files (of dynamically linked extensions). This fixes a problem building PAR-Packer on Win32 with a debug build of perl.</p>

</li>
<li><p>Various improvements to the win32 build process, including support for Visual C++ 2005 Express Edition (aka Visual C++ 8.x).</p>

</li>
<li><p><i>perl.exe</i> will now have an icon if built with MinGW or Borland.</p>

</li>
<li><p>Improvements to the perl-static.exe build process.</p>

</li>
<li><p>Add Win32 makefile option to link all extensions statically.</p>

</li>
<li><p>The <i>WinCE</i> directory has been merged into the <i>Win32</i> directory.</p>

</li>
<li><p><code>setlocale</code> tests have been re-enabled for Windows XP onwards.</p>

</li>
</ul>

<h1 id="Selected-Bug-Fixes"><a class="permalink" href="perl589delta.html#Selected-Bug-Fixes">#</a><a id="Selected"></a>Selected Bug Fixes</h1>

<h2 id="Unicode"><a class="permalink" href="perl589delta.html#Unicode">#</a>Unicode</h2>

<p>Many many bugs related to the internal Unicode implementation (UTF-8) have been fixed. In particular, long standing bugs related to returning Unicode via <code>tie</code>, overloading or <code>$@</code> are now gone, some of which were never reported.</p>

<p><code>unpack</code> will internally convert the string back from UTF-8 on numeric types. This is a compromise between the full consistency now in 5.10, and the current behaviour, which is often used as a &quot;feature&quot; on string types.</p>

<p>Using <code>:crlf</code> and <code>UTF-16</code> IO layers together will now work.</p>

<p>Fixed problems with <code>split</code>, Unicode <code>/\s+/</code> and <code>/ \0/</code>.</p>

<p>Fixed bug RT #40641 - encoding of Unicode characters in regular expressions.</p>

<p>Fixed a bug where using certain patterns in a regexp led to a panic. [RT #45337]</p>

<p>Perl no longer segfaults (due to infinite internal recursion) if the locale&#39;s character is not UTF-8 [RT #41442]:</p>

<pre><code>use open &#39;:locale&#39;;
print STDERR &quot;\x{201e}&quot;; # &amp;bdquo;</code></pre>

<h2 id="PerlIO"><a class="permalink" href="perl589delta.html#PerlIO">#</a>PerlIO</h2>

<p>Inconsistencies have been fixed in the reference counting PerlIO uses to keep track of Unix file descriptors, and the API used by XS code to manage getting and releasing <code>FILE *</code>s</p>

<h2 id="Magic"><a class="permalink" href="perl589delta.html#Magic">#</a>Magic</h2>

<p>Several bugs have been fixed in Magic, the internal system used to implement features such as <code>tie</code>, tainting and threads sharing.</p>

<p><code>undef @array</code> on a tied array now correctly calls the <code>CLEAR</code> method.</p>

<p>Some of the bitwise ops were not checking whether their arguments were magical before using them. [RT #24816]</p>

<p>Magic is no longer invoked twice by the expression <code>\&amp;$x</code></p>

<p>A bug with assigning large numbers and tainting has been resolved. [RT #40708]</p>

<p>A new entry has been added to the MAGIC vtable - <code>svt_local</code>. This is used when copying magic to the new value during <code>local</code>, allowing certain problems with localising shared variables to be resolved.</p>

<p>For the implementation details, see <a href="perlguts.html#Magic-Virtual-Tables">&quot;Magic Virtual Tables&quot; in perlguts</a>.</p>

<h2 id="Reblessing-overloaded-objects-now-works"><a class="permalink" href="perl589delta.html#Reblessing-overloaded-objects-now-works">#</a><a id="Reblessing"></a>Reblessing overloaded objects now works</h2>

<p>Internally, perl object-ness is on the referent, not the reference, even though methods can only be called via a reference. However, the original implementation of overloading stored flags related to overloading on the reference, relying on the flags being copied when the reference was copied, or set at the creation of a new reference. This manifests in a bug - if you rebless an object from a class that has overloading, into one that does not, then any other existing references think that they (still) point to an overloaded object, choose these C code paths, and then throw errors. Analogously, blessing into an overloaded class when other references exist will result in them not using overloading.</p>

<p>The implementation has been fixed for 5.10, but this fix changes the semantics of flag bits, so is not binary compatible, so can&#39;t be applied to 5.8.9. However, 5.8.9 has a work-around that implements the same bug fix. If the referent has multiple references, then all the other references are located and corrected. A full search is avoided whenever possible by scanning lexicals outwards from the current subroutine, and the argument stack.</p>

<p>A certain well known Linux vendor applied incomplete versions of this bug fix to their <i>/usr/bin/perl</i> and then prematurely closed bug reports about performance issues without consulting back upstream. This not being enough, they then proceeded to ignore the necessary fixes to these unreleased changes for 11 months, until massive pressure was applied by their long-suffering paying customers, catalysed by the failings being featured on a prominent blog and Slashdot.</p>

<h2 id="strict-now-propagates-correctly-into-string-evals"><a class="permalink" href="perl589delta.html#strict-now-propagates-correctly-into-string-evals">#</a><a id="strict"></a><code>strict</code> now propagates correctly into string evals</h2>

<p>Under 5.8.8 and earlier:</p>

<pre><code>$ perl5.8.8 -e &#39;use strict; eval &quot;use foo bar&quot; or die $@&#39;
Can&#39;t locate foo.pm in @INC (@INC contains: ... .) at (eval 1) line 2.
BEGIN failed--compilation aborted at (eval 1) line 2.</code></pre>

<p>Under 5.8.9 and later:</p>

<pre><code class="plaintext">$ perl5.8.9 -e &#39;use strict; eval &quot;use foo bar&quot; or die $@&#39;
Bareword &quot;bar&quot; not allowed while &quot;strict subs&quot; in use at (eval 1) line 1.</code></pre>

<p>This may cause problems with programs that parse the error message and rely on the buggy behaviour.</p>

<h2 id="Other-fixes"><a class="permalink" href="perl589delta.html#Other-fixes">#</a><a id="Other"></a>Other fixes</h2>

<ul>

<li><p>The tokenizer no longer treats <code>=cute</code> (and other words beginning with <code>=cut</code>) as a synonym for <code>=cut</code>.</p>

</li>
<li><p>Calling <code>CORE::require</code></p>

<p><code>CORE::require</code> and <code>CORE::do</code> were always parsed as <code>require</code> and <code>do</code> when they were overridden. This is now fixed.</p>

</li>
<li><p>Stopped memory leak on long <i>/etc/groups</i> entries.</p>

</li>
<li><p><code>while (my $x ...) { ...; redo }</code> shouldn&#39;t <code>undef $x</code>.</p>

<p>In the presence of <code>my</code> in the conditional of a <code>while()</code>, <code>until()</code>, or <code>for(;;)</code> loop, we now add an extra scope to the body so that <code>redo</code> doesn&#39;t <code>undef</code> the lexical.</p>

</li>
<li><p>The <code>encoding</code> pragma now correctly ignores anything following an <code>@</code> character in the <code>LC_ALL</code> and <code>LANG</code> environment variables. [RT # 49646]</p>

</li>
<li><p>A segfault observed with some <i>gcc</i> 3.3 optimisations is resolved.</p>

</li>
<li><p>A possible segfault when <code>unpack</code> used in scalar context with <code>()</code> groups is resolved. [RT #50256]</p>

</li>
<li><p>Resolved issue where <code>$!</code> could be changed by a signal handler interrupting a <code>system</code> call.</p>

</li>
<li><p>Fixed bug RT #37886, symbolic dereferencing was allowed in the argument of <code>defined</code> even under the influence of <code>use strict &#39;refs&#39;</code>.</p>

</li>
<li><p>Fixed bug RT #43207, where <code>lc</code>/<code>uc</code> inside <code>sort</code> affected the return value.</p>

</li>
<li><p>Fixed bug RT #45607, where <code>*{&quot;BONK&quot;} = \&amp;{&quot;BONK&quot;}</code> didn&#39;t work correctly.</p>

</li>
<li><p>Fixed bug RT #35878, croaking from a XSUB called via <code>goto &amp;xsub</code> corrupts perl internals.</p>

</li>
<li><p>Fixed bug RT #32539, <i>DynaLoader.o</i> is moved into <i>libperl.so</i> to avoid the need to statically link DynaLoader into the stub perl executable. With this <i>libperl.so</i> provides everything needed to get a functional embedded perl interpreter to run.</p>

</li>
<li><p>Fix bug RT #36267 so that assigning to a tied hash doesn&#39;t change the underlying hash.</p>

</li>
<li><p>Fix bug RT #6006, regexp replaces using large replacement variables fail some of the time, <i>i.e.</i> when substitution contains something like <code>${10}</code> (note the bracket) instead of just <code>$10</code>.</p>

</li>
<li><p>Fix bug RT #45053, <code>Perl_newCONSTSUB()</code> is now thread safe.</p>

</li>
</ul>

<h2 id="Platform-Specific-Fixes"><a class="permalink" href="perl589delta.html#Platform-Specific-Fixes">#</a><a id="Platform1"></a>Platform Specific Fixes</h2>

<h3 id="Darwin-/-MacOS-X"><a class="permalink" href="perl589delta.html#Darwin-/-MacOS-X">#</a><a id="Darwin"></a><a id="Darwin-MacOS-X"></a>Darwin / MacOS X</h3>

<ul>

<li><p>Various improvements to 64 bit builds.</p>

</li>
<li><p>Mutex protection added in <code>PerlIOStdio_close()</code> to avoid race conditions. Hopefully this fixes failures in the threads tests <i>free.t</i> and <i>blocks.t</i>.</p>

</li>
<li><p>Added forked terminal support to the debugger, with the ability to update the window title.</p>

</li>
</ul>

<h3 id="OS/2"><a class="permalink" href="perl589delta.html#OS/2">#</a><a id="OS"></a><a id="OS-2"></a>OS/2</h3>

<ul>

<li><p>A build problem with specifying <code>USE_MULTI</code> and <code>USE_ITHREADS</code> but without <code>USE_IMP_SYS</code> has been fixed.</p>

</li>
<li><p><code>OS2::REXX</code> upgraded to version 1.04</p>

</li>
</ul>

<h3 id="Tru64"><a class="permalink" href="perl589delta.html#Tru64">#</a>Tru64</h3>

<ul>

<li><p>Aligned floating point build policies for <i>cc</i> and <i>gcc</i>.</p>

</li>
</ul>

<h3 id="RedHat-Linux"><a class="permalink" href="perl589delta.html#RedHat-Linux">#</a><a id="RedHat"></a>RedHat Linux</h3>

<ul>

<li><p>Revisited a patch from 5.6.1 for RH7.2 for Intel&#39;s <i>icc</i> [RT #7916], added an additional check for <code>$Config{gccversion}</code>.</p>

</li>
</ul>

<h3 id="Solaris/i386"><a class="permalink" href="perl589delta.html#Solaris/i386">#</a><a id="Solaris1"></a><a id="Solaris-i386"></a>Solaris/i386</h3>

<ul>

<li><p>Use <code>-DPTR_IS_LONG</code> when using 64 bit integers</p>

</li>
</ul>

<h3 id="VMS1"><a class="permalink" href="perl589delta.html#VMS1">#</a>VMS</h3>

<ul>

<li><p>Fixed <code>PerlIO::Scalar</code> in-memory file record-style reads.</p>

</li>
<li><p>pipe shutdown at process exit should now be more robust.</p>

</li>
<li><p>Bugs in VMS exit handling tickled by <code>Test::Harness</code> 2.64 have been fixed.</p>

</li>
<li><p>Fix <code>fcntl()</code> locking capability test in <i>configure.com</i>.</p>

</li>
<li><p>Replaced <code>shrplib=&#39;define&#39;</code> with <code>useshrplib=&#39;true&#39;</code> on VMS.</p>

</li>
</ul>

<h3 id="Windows1"><a class="permalink" href="perl589delta.html#Windows1">#</a>Windows</h3>

<ul>

<li><p><code>File::Find</code> used to fail when the target directory is a bare drive letter and <code>no_chdir</code> is 1 (the default is 0). [RT #41555]</p>

</li>
<li><p>A build problem with specifying <code>USE_MULTI</code> and <code>USE_ITHREADS</code> but without <code>USE_IMP_SYS</code> has been fixed.</p>

</li>
<li><p>The process id is no longer truncated to 16 bits on some Windows platforms ( http://bugs.activestate.com/show_bug.cgi?id=72443 )</p>

</li>
<li><p>Fixed bug RT #54828 in <i>perlio.c</i> where calling <code>binmode</code> on Win32 and Cygwin may cause a segmentation fault.</p>

</li>
</ul>

<h2 id="Smaller-fixes"><a class="permalink" href="perl589delta.html#Smaller-fixes">#</a><a id="Smaller"></a>Smaller fixes</h2>

<ul>

<li><p>It is now possible to overload <code>eq</code> when using <code>nomethod</code>.</p>

</li>
<li><p>Various problems using <code>overload</code> with 64 bit integers corrected.</p>

</li>
<li><p>The reference count of <code>PerlIO</code> file descriptors is now correctly handled.</p>

</li>
<li><p>On VMS, escaped dots will be preserved when converted to Unix syntax.</p>

</li>
<li><p><code>keys %+</code> no longer throws an <code>&#39;ambiguous&#39;</code> warning.</p>

</li>
<li><p>Using <code>#!perl -d</code> could trigger an assertion, which has been fixed.</p>

</li>
<li><p>Don&#39;t stringify tied code references in <code>@INC</code> when calling <code>require</code>.</p>

</li>
<li><p>Code references in <code>@INC</code> report the correct file name when <code>__FILE__</code> is used.</p>

</li>
<li><p>Width and precision in sprintf didn&#39;t handle characters above 255 correctly. [RT #40473]</p>

</li>
<li><p>List slices with indices out of range now work more consistently. [RT #39882]</p>

</li>
<li><p>A change introduced with perl 5.8.1 broke the parsing of arguments of the form <code>-foo=bar</code> with the <code>-s</code> on the &lt;#!&gt; line. This has been fixed. See http://bugs.activestate.com/show_bug.cgi?id=43483</p>

</li>
<li><p><code>tr///</code> is now threadsafe. Previously it was storing a swash inside its OP, rather than in a pad.</p>

</li>
<li><p><i>pod2html</i> labels anchors more consistently and handles nested definition lists better.</p>

</li>
<li><p><code>threads</code> cleanup veto has been extended to include <code>perl_free()</code> and <code>perl_destruct()</code></p>

</li>
<li><p>On some systems, changes to <code>$ENV{TZ}</code> would not always be respected by the underlying calls to <code>localtime_r()</code>. Perl now forces the inspection of the environment on these systems.</p>

</li>
<li><p>The special variable <code>$^R</code> is now more consistently set when executing regexps using the <code>(?{...})</code> construct. In particular, it will still be set even if backreferences or optional sub-patterns <code>(?:...)?</code> are used.</p>

</li>
</ul>

<h1 id="New-or-Changed-Diagnostics"><a class="permalink" href="perl589delta.html#New-or-Changed-Diagnostics">#</a><a id="New4"></a>New or Changed Diagnostics</h1>

<h2 id="panic:-sv_chop-%s"><a class="permalink" href="perl589delta.html#panic:-sv_chop-%25s">#</a><a id="panic"></a><a id="panic:-sv_chop-s"></a>panic: sv_chop %s</h2>

<p>This new fatal error occurs when the C routine <code>Perl_sv_chop()</code> was passed a position that is not within the scalar&#39;s string buffer. This is caused by buggy XS code, and at this point recovery is not possible.</p>

<h2 id="Maximal-count-of-pending-signals-(%s)-exceeded"><a class="permalink" href="perl589delta.html#Maximal-count-of-pending-signals-(%25s)-exceeded">#</a><a id="Maximal"></a><a id="Maximal-count-of-pending-signals-s-exceeded"></a>Maximal count of pending signals (%s) exceeded</h2>

<p>This new fatal error occurs when the perl process has to abort due to too many pending signals, which is bound to prevent perl from being able to handle further incoming signals safely.</p>

<h2 id="panic:-attempt-to-call-%s-in-%s"><a class="permalink" href="perl589delta.html#panic:-attempt-to-call-%25s-in-%25s">#</a><a id="panic1"></a><a id="panic:-attempt-to-call-s-in-s"></a>panic: attempt to call %s in %s</h2>

<p>This new fatal error occurs when the ACL version file test operator is used where it is not available on the current platform. Earlier checks mean that it should never be possible to get this.</p>

<h2 id="FETCHSIZE-returned-a-negative-value"><a class="permalink" href="perl589delta.html#FETCHSIZE-returned-a-negative-value">#</a><a id="FETCHSIZE"></a>FETCHSIZE returned a negative value</h2>

<p>New error indicating that a tied array has claimed to have a negative number of elements.</p>

<h2 id="Can&#39;t-upgrade-%s-(%d)-to-%d"><a class="permalink" href="perl589delta.html#Can&#39;t-upgrade-%25s-(%25d)-to-%25d">#</a><a id="Can"></a><a id="Cant-upgrade-s-d-to-d"></a>Can&#39;t upgrade %s (%d) to %d</h2>

<p>Previously the internal error from the SV upgrade code was the less informative <i>Can&#39;t upgrade that kind of scalar</i>. It now reports the current internal type, and the new type requested.</p>

<h2 id="%s-argument-is-not-a-HASH-or-ARRAY-element-or-a-subroutine"><a class="permalink" href="perl589delta.html#%25s-argument-is-not-a-HASH-or-ARRAY-element-or-a-subroutine">#</a><a id="s-argument-is-not-a-HASH-or-ARRAY-element-or-a-subroutine"></a>%s argument is not a HASH or ARRAY element or a subroutine</h2>

<p>This error, thrown if an invalid argument is provided to <code>exists</code> now correctly includes &quot;or a subroutine&quot;. [RT #38955]</p>

<h2 id="Cannot-make-the-non-overridable-builtin-%s-fatal"><a class="permalink" href="perl589delta.html#Cannot-make-the-non-overridable-builtin-%25s-fatal">#</a><a id="Cannot"></a><a id="Cannot-make-the-non-overridable-builtin-s-fatal"></a>Cannot make the non-overridable builtin %s fatal</h2>

<p>This error in <code>Fatal</code> previously did not show the name of the builtin in question (now represented by %s above).</p>

<h2 id="Unrecognized-character-&#39;%s&#39;-in-column-%d"><a class="permalink" href="perl589delta.html#Unrecognized-character-&#39;%25s&#39;-in-column-%25d">#</a><a id="Unrecognized"></a><a id="Unrecognized-character-s-in-column-d"></a>Unrecognized character &#39;%s&#39; in column %d</h2>

<p>This error previously did not state the column.</p>

<h2 id="Offset-outside-string"><a class="permalink" href="perl589delta.html#Offset-outside-string">#</a><a id="Offset"></a>Offset outside string</h2>

<p>This can now also be generated by a <code>seek</code> on a file handle using <code>PerlIO::scalar</code>.</p>

<h2 id="Invalid-escape-in-the-specified-encoding-in-regexp;-marked-by-&lt;-HERE-in-m/%s/"><a class="permalink" href="perl589delta.html#Invalid-escape-in-the-specified-encoding-in-regexp;-marked-by-%3C-HERE-in-m/%25s/">#</a><a id="Invalid"></a><a id="Invalid-escape-in-the-specified-encoding-in-regexp-marked-by----HERE-in-m-s"></a>Invalid escape in the specified encoding in regexp; marked by &lt;-- HERE in m/%s/</h2>

<p>New error, introduced as part of the fix to RT #40641 to handle encoding of Unicode characters in regular expression comments.</p>

<h2 id="Your-machine-doesn&#39;t-support-dump/undump."><a class="permalink" href="perl589delta.html#Your-machine-doesn&#39;t-support-dump/undump.">#</a><a id="Your"></a><a id="Your-machine-doesnt-support-dump-undump"></a>Your machine doesn&#39;t support dump/undump.</h2>

<p>A more informative fatal error issued when calling <code>dump</code> on Win32 and Cygwin. (Given that the purpose of <code>dump</code> is to abort with a core dump, and core dumps can&#39;t be produced on these platforms, this is more useful than silently exiting.)</p>

<h1 id="Changed-Internals"><a class="permalink" href="perl589delta.html#Changed-Internals">#</a><a id="Changed"></a>Changed Internals</h1>

<p>The perl sources can now be compiled with a C++ compiler instead of a C compiler. A necessary implementation details is that under C++, the macro <code>XS</code> used to define XSUBs now includes an <code>extern &quot;C&quot;</code> definition. A side effect of this is that <b>C++</b> code that used the construction</p>

<pre><code>typedef XS(SwigPerlWrapper);</code></pre>

<p>now needs to be written</p>

<pre><code>typedef XSPROTO(SwigPerlWrapper);</code></pre>

<p>using the new <code>XSPROTO</code> macro, in order to compile. C extensions are unaffected, although C extensions are encouraged to use <code>XSPROTO</code> too. This change was present in the 5.10.0 release of perl, so any actively maintained code that happened to use this construction should already have been adapted. Code that needs changing will fail with a compilation error.</p>

<p><code>set</code> magic on localizing/assigning to a magic variable will now only trigger for <i>container magics</i>, i.e. it will for <code>%ENV</code> or <code>%SIG</code> but not for <code>$#array</code>.</p>

<p>The new API macro <code>newSVpvs()</code> can be used in place of constructions such as <code>newSVpvn(&quot;ISA&quot;, 3)</code>. It takes a single string constant, and at C compile time determines its length.</p>

<p>The new API function <code>Perl_newSV_type()</code> can be used as a more efficient replacement of the common idiom</p>

<pre><code>sv = newSV(0);
sv_upgrade(sv, type);</code></pre>

<p>Similarly <code>Perl_newSVpvn_flags()</code> can be used to combine <code>Perl_newSVpv()</code> with <code>Perl_sv_2mortal()</code> or the equivalent <code>Perl_sv_newmortal()</code> with <code>Perl_sv_setpvn()</code></p>

<p>Two new macros <code>mPUSHs()</code> and <code>mXPUSHs()</code> are added, to make it easier to push mortal SVs onto the stack. They were then used to fix several bugs where values on the stack had not been mortalised.</p>

<p>A <code>Perl_signbit()</code> function was added to test the sign of an <code>NV</code>. It maps to the system one when available.</p>

<p><code>Perl_av_reify()</code>, <code>Perl_lex_end()</code>, <code>Perl_mod()</code>, <code>Perl_op_clear()</code>, <code>Perl_pop_return()</code>, <code>Perl_qerror()</code>, <code>Perl_setdefout()</code>, <code>Perl_vivify_defelem()</code> and <code>Perl_yylex()</code> are now visible to extensions. This was required to allow <code>Data::Alias</code> to work on Windows.</p>

<p><code>Perl_find_runcv()</code> is now visible to perl core extensions. This was required to allow <code>Sub::Current</code> to work on Windows.</p>

<p><code>ptr_table*</code> functions are now available in unthreaded perl. <code>Storable</code> takes advantage of this.</p>

<p>There have been many small cleanups made to the internals. In particular, <code>Perl_sv_upgrade()</code> has been simplified considerably, with a straight-through code path that uses <code>memset()</code> and <code>memcpy()</code> to initialise the new body, rather than assignment via multiple temporary variables. It has also benefited from simplification and de-duplication of the arena management code.</p>

<p>A lot of small improvements in the code base were made due to reports from the Coverity static code analyzer.</p>

<p>Corrected use and documentation of <code>Perl_gv_stashpv()</code>, <code>Perl_gv_stashpvn()</code>, <code>Perl_gv_stashsv()</code> functions (last parameter is a bitmask, not boolean).</p>

<p><code>PERL_SYS_INIT</code>, <code>PERL_SYS_INIT3</code> and <code>PERL_SYS_TERM</code> macros have been changed into functions.</p>

<p><code>PERLSYS_TERM</code> no longer requires a context. <code>PerlIO_teardown()</code> is now called without a context, and debugging output in this function has been disabled because that required that an interpreter was present, an invalid assumption at termination time.</p>

<p>All compile time options which affect binary compatibility have been grouped together into a global variable (<code>PL_bincompat_options</code>).</p>

<p>The values of <code>PERL_REVISION</code>, <code>PERL_VERSION</code> and <code>PERL_SUBVERSION</code> are now baked into global variables (and hence into any shared perl library). Additionally under <code>MULTIPLICITY</code>, the perl executable now records the size of the interpreter structure (total, and for this version). Coupled with <code>PL_bincompat_options</code> this will allow 5.8.10 (and later), when compiled with a shared perl library, to perform sanity checks in <code>main()</code> to verify that the shared library is indeed binary compatible.</p>

<p>Symbolic references can now have embedded NULs. The new public function <code>Perl_get_cvn_flags()</code> can be used in extensions if you have to handle them.</p>

<h2 id="Macro-cleanups"><a class="permalink" href="perl589delta.html#Macro-cleanups">#</a><a id="Macro"></a>Macro cleanups</h2>

<p>The core code, and XS code in <i>ext</i> that is not dual-lived on CPAN, no longer uses the macros <code>PL_na</code>, <code>NEWSV()</code>, <code>Null()</code>, <code>Nullav</code>, <code>Nullcv</code>, <code>Nullhv</code>, <code>Nullhv</code> <i>etc</i>. Their use is discouraged in new code, particularly <code>PL_na</code>, which is a small performance hit.</p>

<h1 id="New-Tests"><a class="permalink" href="perl589delta.html#New-Tests">#</a><a id="New5"></a>New Tests</h1>

<p>Many modules updated from CPAN incorporate new tests. Some core specific tests have been added:</p>

<dl>

<dt id="ext/DynaLoader/t/DynaLoader.t"><a class="permalink" href="perl589delta.html#ext/DynaLoader/t/DynaLoader.t">#</a><a id="ext"></a><a id="ext-DynaLoader-t-DynaLoader.t"></a>ext/DynaLoader/t/DynaLoader.t</dt>
<dd>

<p>Tests for the <code>DynaLoader</code> module.</p>

</dd>
<dt id="t/comp/fold.t"><a class="permalink" href="perl589delta.html#t/comp/fold.t">#</a><a id="t"></a><a id="t-comp-fold.t"></a>t/comp/fold.t</dt>
<dd>

<p>Tests for compile-time constant folding.</p>

</dd>
<dt id="t/io/pvbm.t"><a class="permalink" href="perl589delta.html#t/io/pvbm.t">#</a><a id="t1"></a><a id="t-io-pvbm.t"></a>t/io/pvbm.t</dt>
<dd>

<p>Tests incorporated from 5.10.0 which check that there is no unexpected interaction between the internal types <code>PVBM</code> and <code>PVGV</code>.</p>

</dd>
<dt id="t/lib/proxy_constant_subs.t"><a class="permalink" href="perl589delta.html#t/lib/proxy_constant_subs.t">#</a><a id="t2"></a><a id="t-lib-proxy_constant_subs.t"></a>t/lib/proxy_constant_subs.t</dt>
<dd>

<p>Tests for the new form of constant subroutines.</p>

</dd>
<dt id="t/op/attrhand.t"><a class="permalink" href="perl589delta.html#t/op/attrhand.t">#</a><a id="t3"></a><a id="t-op-attrhand.t"></a>t/op/attrhand.t</dt>
<dd>

<p>Tests for <code>Attribute::Handlers</code>.</p>

</dd>
<dt id="t/op/dbm.t"><a class="permalink" href="perl589delta.html#t/op/dbm.t">#</a><a id="t4"></a><a id="t-op-dbm.t"></a>t/op/dbm.t</dt>
<dd>

<p>Tests for <code>dbmopen</code>.</p>

</dd>
<dt id="t/op/inccode-tie.t"><a class="permalink" href="perl589delta.html#t/op/inccode-tie.t">#</a><a id="t5"></a><a id="t-op-inccode-tie.t"></a>t/op/inccode-tie.t</dt>
<dd>

<p>Calls all tests in <i>t/op/inccode.t</i> after first tying <code>@INC</code>.</p>

</dd>
<dt id="t/op/incfilter.t"><a class="permalink" href="perl589delta.html#t/op/incfilter.t">#</a><a id="t6"></a><a id="t-op-incfilter.t"></a>t/op/incfilter.t</dt>
<dd>

<p>Tests for source filters returned from code references in <code>@INC</code>.</p>

</dd>
<dt id="t/op/kill0.t"><a class="permalink" href="perl589delta.html#t/op/kill0.t">#</a><a id="t7"></a><a id="t-op-kill0.t"></a>t/op/kill0.t</dt>
<dd>

<p>Tests for RT #30970.</p>

</dd>
<dt id="t/op/qrstack.t"><a class="permalink" href="perl589delta.html#t/op/qrstack.t">#</a><a id="t8"></a><a id="t-op-qrstack.t"></a>t/op/qrstack.t</dt>
<dd>

<p>Tests for RT #41484.</p>

</dd>
<dt id="t/op/qr.t"><a class="permalink" href="perl589delta.html#t/op/qr.t">#</a><a id="t9"></a><a id="t-op-qr.t"></a>t/op/qr.t</dt>
<dd>

<p>Tests for the <code>qr//</code> construct.</p>

</dd>
<dt id="t/op/regexp_qr_embed.t"><a class="permalink" href="perl589delta.html#t/op/regexp_qr_embed.t">#</a><a id="t10"></a><a id="t-op-regexp_qr_embed.t"></a>t/op/regexp_qr_embed.t</dt>
<dd>

<p>Tests for the <code>qr//</code> construct within another regexp.</p>

</dd>
<dt id="t/op/regexp_qr.t"><a class="permalink" href="perl589delta.html#t/op/regexp_qr.t">#</a><a id="t11"></a><a id="t-op-regexp_qr.t"></a>t/op/regexp_qr.t</dt>
<dd>

<p>Tests for the <code>qr//</code> construct.</p>

</dd>
<dt id="t/op/rxcode.t"><a class="permalink" href="perl589delta.html#t/op/rxcode.t">#</a><a id="t12"></a><a id="t-op-rxcode.t"></a>t/op/rxcode.t</dt>
<dd>

<p>Tests for RT #32840.</p>

</dd>
<dt id="t/op/studytied.t"><a class="permalink" href="perl589delta.html#t/op/studytied.t">#</a><a id="t13"></a><a id="t-op-studytied.t"></a>t/op/studytied.t</dt>
<dd>

<p>Tests for <code>study</code> on tied scalars.</p>

</dd>
<dt id="t/op/substT.t"><a class="permalink" href="perl589delta.html#t/op/substT.t">#</a><a id="t14"></a><a id="t-op-substT.t"></a>t/op/substT.t</dt>
<dd>

<p>Tests for <code>subst</code> run under <code>-T</code> mode.</p>

</dd>
<dt id="t/op/symbolcache.t"><a class="permalink" href="perl589delta.html#t/op/symbolcache.t">#</a><a id="t15"></a><a id="t-op-symbolcache.t"></a>t/op/symbolcache.t</dt>
<dd>

<p>Tests for <code>undef</code> and <code>delete</code> on stash entries that are bound to subroutines or methods.</p>

</dd>
<dt id="t/op/upgrade.t"><a class="permalink" href="perl589delta.html#t/op/upgrade.t">#</a><a id="t16"></a><a id="t-op-upgrade.t"></a>t/op/upgrade.t</dt>
<dd>

<p>Tests for <code>Perl_sv_upgrade()</code>.</p>

</dd>
<dt id="t/mro/package_aliases.t"><a class="permalink" href="perl589delta.html#t/mro/package_aliases.t">#</a><a id="t17"></a><a id="t-mro-package_aliases.t"></a>t/mro/package_aliases.t</dt>
<dd>

<p>MRO tests for <code>isa</code> and package aliases.</p>

</dd>
<dt id="t/pod/twice.t"><a class="permalink" href="perl589delta.html#t/pod/twice.t">#</a><a id="t18"></a><a id="t-pod-twice.t"></a>t/pod/twice.t</dt>
<dd>

<p>Tests for calling <code>Pod::Parser</code> twice.</p>

</dd>
<dt id="t/run/cloexec.t"><a class="permalink" href="perl589delta.html#t/run/cloexec.t">#</a><a id="t19"></a><a id="t-run-cloexec.t"></a>t/run/cloexec.t</dt>
<dd>

<p>Tests for inheriting file descriptors across <code>exec</code> (close-on-exec).</p>

</dd>
<dt id="t/uni/cache.t"><a class="permalink" href="perl589delta.html#t/uni/cache.t">#</a><a id="t20"></a><a id="t-uni-cache.t"></a>t/uni/cache.t</dt>
<dd>

<p>Tests for the UTF-8 caching code.</p>

</dd>
<dt id="t/uni/chr.t"><a class="permalink" href="perl589delta.html#t/uni/chr.t">#</a><a id="t21"></a><a id="t-uni-chr.t"></a>t/uni/chr.t</dt>
<dd>

<p>Test that strange encodings do not upset <code>Perl_pp_chr()</code>.</p>

</dd>
<dt id="t/uni/greek.t"><a class="permalink" href="perl589delta.html#t/uni/greek.t">#</a><a id="t22"></a><a id="t-uni-greek.t"></a>t/uni/greek.t</dt>
<dd>

<p>Tests for RT #40641.</p>

</dd>
<dt id="t/uni/latin2.t"><a class="permalink" href="perl589delta.html#t/uni/latin2.t">#</a><a id="t23"></a><a id="t-uni-latin2.t"></a>t/uni/latin2.t</dt>
<dd>

<p>Tests for RT #40641.</p>

</dd>
<dt id="t/uni/overload.t"><a class="permalink" href="perl589delta.html#t/uni/overload.t">#</a><a id="t24"></a><a id="t-uni-overload.t"></a>t/uni/overload.t</dt>
<dd>

<p>Tests for returning Unicode from overloaded values.</p>

</dd>
<dt id="t/uni/tie.t"><a class="permalink" href="perl589delta.html#t/uni/tie.t">#</a><a id="t25"></a><a id="t-uni-tie.t"></a>t/uni/tie.t</dt>
<dd>

<p>Tests for returning Unicode from tied variables.</p>

</dd>
</dl>

<h1 id="Known-Problems"><a class="permalink" href="perl589delta.html#Known-Problems">#</a><a id="Known"></a>Known Problems</h1>

<p>There are no known new bugs.</p>

<p>However, programs that rely on bugs that have been fixed will have problems. Also, many bug fixes present in 5.10.0 can&#39;t be back-ported to the 5.8.x branch, because they require changes that are binary incompatible, or because the code changes are too large and hence too risky to incorporate.</p>

<p>We have only limited volunteer labour, and the maintenance burden is getting increasingly complex. Hence this will be the last significant release of the 5.8.x series. Any future releases of 5.8.x will likely only be to deal with security issues, and platform build failures. Hence you should look to migrating to 5.10.x, if you have not started already. Alternatively, if business requirements constrain you to continue to use 5.8.x, you may wish to consider commercial support from firms such as ActiveState.</p>

<h1 id="Platform-Specific-Notes"><a class="permalink" href="perl589delta.html#Platform-Specific-Notes">#</a><a id="Platform2"></a>Platform Specific Notes</h1>

<h2 id="Win32"><a class="permalink" href="perl589delta.html#Win32">#</a>Win32</h2>

<p><code>readdir()</code>, <code>cwd()</code>, <code>$^X</code> and <code>@INC</code> now use the alternate (short) filename if the long name is outside the current codepage (Jan Dubois).</p>

<h3 id="Updated-Modules1"><a class="permalink" href="perl589delta.html#Updated-Modules1">#</a><a id="Updated1"></a>Updated Modules</h3>

<ul>

<li><p><code>Win32</code> upgraded to version 0.38. Now has a documented &#39;WinVista&#39; response from <code>GetOSName</code> and support for Vista&#39;s privilege elevation in <code>IsAdminUser</code>. Support for Unicode characters in path names. Improved cygwin and Win64 compatibility.</p>

</li>
<li><p><code>Win32API</code> updated to 0.1001_01</p>

</li>
<li><p><code>killpg()</code> support added to <code>MSWin32</code> (Jan Dubois).</p>

</li>
<li><p><code>File::Spec::Win32</code> upgraded to version 3.2701</p>

</li>
</ul>

<h2 id="OS/21"><a class="permalink" href="perl589delta.html#OS/21">#</a><a id="OS1"></a><a id="OS-21"></a>OS/2</h2>

<h3 id="Updated-Modules2"><a class="permalink" href="perl589delta.html#Updated-Modules2">#</a><a id="Updated2"></a>Updated Modules</h3>

<ul>

<li><p><code>OS2::Process</code> upgraded to 1.03</p>

<p>Ilya Zakharevich has added and documented several <code>Window*</code> and <code>Clipbrd*</code> functions.</p>

</li>
<li><p><code>OS2::REXX::DLL</code>, <code>OS2::REXX</code> updated to version 1.03</p>

</li>
</ul>

<h2 id="VMS2"><a class="permalink" href="perl589delta.html#VMS2">#</a>VMS</h2>

<h3 id="Updated-Modules3"><a class="permalink" href="perl589delta.html#Updated-Modules3">#</a><a id="Updated3"></a>Updated Modules</h3>

<ul>

<li><p><code>DCLsym</code> upgraded to version 1.03</p>

</li>
<li><p><code>Stdio</code> upgraded to version 2.4</p>

</li>
<li><p><code>VMS::XSSymSet</code> upgraded to 1.1.</p>

</li>
</ul>

<h1 id="Obituary"><a class="permalink" href="perl589delta.html#Obituary">#</a>Obituary</h1>

<p>Nick Ing-Simmons, long time Perl hacker, author of the <code>Tk</code> and <code>Encode</code> modules, <i>perlio.c</i> in the core, and 5.003_02 pumpking, died of a heart attack on 25th September 2006. He will be missed.</p>

<h1 id="Acknowledgements"><a class="permalink" href="perl589delta.html#Acknowledgements">#</a>Acknowledgements</h1>

<p>Some of the work in this release was funded by a TPF grant.</p>

<p>Steve Hay worked behind the scenes working out the causes of the differences between core modules, their CPAN releases, and previous core releases, and the best way to rectify them. He doesn&#39;t want to do it again. I know this feeling, and I&#39;m very glad he did it this time, instead of me.</p>

<p>Paul Fenwick assembled a team of 18 volunteers, who broke the back of writing this document. In particular, Bradley Dean, Eddy Tan, and Vincent Pit provided half the team&#39;s contribution.</p>

<p>Schwern verified the list of updated module versions, correcting quite a few errors that I (and everyone else) had missed, both wrongly stated module versions, and changed modules that had not been listed.</p>

<p>The crack Berlin-based QA team of Andreas König and Slaven Rezic tirelessly re-built snapshots, tested most everything CPAN against them, and then identified the changes responsible for any module regressions, ensuring that several show-stopper bugs were stomped before the first release candidate was cut.</p>

<p>The other core committers contributed most of the changes, and applied most of the patches sent in by the hundreds of contributors listed in <i>AUTHORS</i>.</p>

<p>And obviously, Larry Wall, without whom we wouldn&#39;t have Perl.</p>

<h1 id="Reporting-Bugs"><a class="permalink" href="perl589delta.html#Reporting-Bugs">#</a><a id="Reporting"></a>Reporting Bugs</h1>

<p>If you find what you think is a bug, you might check the articles recently posted to the comp.lang.perl.misc newsgroup and the perl bug database at http://bugs.perl.org. There may also be information at http://www.perl.org, the Perl Home Page.</p>

<p>If you believe you have an unreported bug, please run the <b>perlbug</b> program included with your release. Be sure to trim your bug down to a tiny but sufficient test case. Your bug report, along with the output of <code>perl -V</code>, will be sent off to perlbug@perl.org to be analysed by the Perl porting team. You can browse and search the Perl 5 bugs at http://bugs.perl.org/</p>

<p>If the bug you are reporting has security implications, which make it inappropriate to send to a publicly archived mailing list, then please send it to perl5-security-report@perl.org. This points to a closed subscription unarchived mailing list, which includes all the core committers, who will be able to help assess the impact of issues, figure out a resolution, and help co-ordinate the release of patches to mitigate or fix the problem across all platforms on which Perl is supported. Please only use this address for security issues in the Perl core, not for modules independently distributed on CPAN.</p>

<h1 id="SEE-ALSO"><a class="permalink" href="perl589delta.html#SEE-ALSO">#</a><a id="SEE"></a>SEE ALSO</h1>

<p>The <i>Changes</i> file for exhaustive details on what changed.</p>

<p>The <i>INSTALL</i> file for how to build Perl.</p>

<p>The <i>README</i> file for general stuff.</p>

<p>The <i>Artistic</i> and <i>Copying</i> files for copyright information.</p>


      </div>
      <div id="footer">
        <p>Perldoc Browser is maintained by Dan Book (<a href="https://metacpan.org/author/DBOOK">DBOOK</a>). Please contact him via the <a href="https://github.com/Grinnz/perldoc-browser/issues">GitHub issue tracker</a> or <a href="mailto:dbook@cpan.org">email</a> regarding any issues with the site itself, search, or rendering of documentation.</p>

<p>The Perl documentation is maintained by the Perl 5 Porters in the development of Perl. Please contact them via the <a href="https://github.com/Perl/perl5/issues">Perl issue tracker</a>, the <a href="https://lists.perl.org/list/perl5-porters.html">mailing list</a>, or <a href="https://kiwiirc.com/client/irc.perl.org/p5p">IRC</a> to report any issues with the contents or format of the documentation.</p>


      </div>
    </div>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.slim.min.js" integrity="sha512-/DXTXr6nQodMUiq+IUJYCt2PPOUjrHJ9wFrqpJ3XkgPNOZVfMok7cRw6CSxyCQxXn6ozlESsSh1/sMCTF1rL/g==" crossorigin="anonymous"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.1/umd/popper.min.js" integrity="sha512-ubuT8Z88WxezgSqf3RLuNi5lmjstiJcyezx34yIU2gAHonIi27Na7atqzUZCOoY4CExaoFumzOsFQ2Ch+I/HCw==" crossorigin="anonymous"></script>
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>
    <script src="../highlight.pack.js"></script>
    <script>hljs.highlightAll();</script>
  </body>
</html>
